Bug 22620: OPAC description for CCODE in opac-reserve.tt
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 2 Apr 2019 07:57:35 +0000 (09:57 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Apr 2019 10:40:09 +0000 (11:40 +0100)
commit8a501d6e6368d7e72e349bf9909d62acfff6dd49
tree345d94a215cdbe8d283566d8c804336c396d8f55
parent7f81521067d5fcca8ba399a280515ce8942c7284
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 commit 05e49e6be98723f67ec85a5843fad1fc9787925f)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt