Bug 22620: OPAC description for CCODE in opac-reserve.tt
Bug 20450 added CCODE to opac-reserve.tt using AuthorisedValues TT plugin. This patch changes the plugin call so that it requests OPAC description. Test plan : 1) Define a CCODE with staff and OPAC descriptions 2) Apply this collection on an item 3) At OPAC, place an hold on this item 4) Verify the collection display correctly OPAC description and not staff description Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> (cherry picked from commit05e49e6be9) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit8a501d6e63) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
672357a62a
commit
e7e66d4938
|
|
@ -370,8 +370,11 @@
|
|||
|
||||
<td class="barcode">[% itemLoo.barcode %]</td>
|
||||
[% UNLESS ( singleBranchMode ) %]
|
||||
<td class="homebranch">[% Branches.GetName( itemLoo.homeBranchName ) %]</td>
|
||||
<td class="holdingbranch">[% Branches.GetName( itemLoo.holdingBranchName ) %]</td>
|
||||
<td class="homebranch">[% Branches.GetName( itemLoo.homeBranchName ) | html %]</td>
|
||||
<td class="holdingbranch">[% Branches.GetName( itemLoo.holdingBranchName ) | html %]</td>
|
||||
[% END %]
|
||||
[% IF ( itemdata_ccode ) %]
|
||||
<td class="ccode"> [% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemLoo.ccode, 1 ) | html %][% END %]</td>
|
||||
[% END %]
|
||||
<td class="call_no">[% itemLoo.callNumber %]</td>
|
||||
[% IF ( itemdata_enumchron ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue