Bug 31272: Use TT plugins for pickup library and due date in opac-reserve.pl
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 30 Jul 2022 21:35:50 +0000 (23:35 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 Aug 2022 14:54:02 +0000 (11:54 -0300)
commit2353893c1acc45c99f5afbe0bde5dcd049d88660
treead122db356b5bf1abf97f639fedb4e40f751844e
parente4d2ef0f4691058cdb9fdff34a5a555a755f75a2
Bug 31272: Use TT plugins for pickup library and due date in opac-reserve.pl

Before this patch the date formatting for the due date was done
in the .pl instead of the template and the branchcode would show
instead of the library's name in the list of items when placing
an item level hold in the OPAC.

To test:
* Find or create a record with mulitple items
* Check out one of the items
* Place a record level hold
* Return an item to set to waiting
* Place an item level hold
* Go to the OPAC and start placing an item level hold
* Verify the messages in the item table show the branchcode
* Apply patch
* Only visible change should be the library name replacing the branchcode

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
opac/opac-reserve.pl