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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 15 Apr 2019 17:13:03 +0000 (17:13 +0000)
commite7e66d4938427dd2e7d2be6f24c17bbb16bf7518
tree44c85b51a5c4e0ead6306f2d9a3ca04da4111d0e
parent672357a62a7b99393221b7f1ef437669c7605944
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>
(cherry picked from commit 8a501d6e6368d7e72e349bf9909d62acfff6dd49)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt