From 5eb81cdcd7a1169f62ae4e37855511b13912a5f6 Mon Sep 17 00:00:00 2001 From: Andrew Fuerste-Henry Date: Wed, 16 Sep 2020 11:18:49 +0000 Subject: [PATCH] Bug 23485: Show barcode in holds to pull Updated to only show one barcode number, with either an "only" or an "or any available" depending on whether it's an item or bib hold. To test: 1 - Place an item level hold on a bib with several items with the same callnumber 2 - View the holds to pull report 3 - Try to guess which one on the shelf is right? 4 - Apply patch 5 - See the barcode in holds to pull report 6 - You can now grab the correct item (but don't yet) 7 - Place a next available hold on the same title 8 - See the report now shows one possible valid barcode with the text "or any available." 9 - Check in a different item that fills the next available hold 10 - Now the report shows the single item for the borrower --- .../intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 71527fc4c9..bf1448ff46 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -102,6 +102,19 @@ [% END %] + [% IF ( reserveloo.barcode ) %] + [% IF ( reserveloo.itemnumber ) %]Only[% END %] + + [% END %] + + [% IF ( reserveloo.itemcallnumber ) %]