From 1ff232f070f532fe0e41e0dd4ff1b39d970aaf8a Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Fri, 4 Apr 2025 18:41:54 +0000 Subject: [PATCH] Bug 39569: Fix branch name in alert when cancelling holds over x To test: 1. On a bib with one item place a hold for pickup at library A and Library B 2. Check the item into library A 3. Set the first hold's expiration date to the past 4. On Holds awaiting pickup > Holds waiting past their expiration date In the actions column click the 'Cancel hold' button 5. Notice the alert says 'This item is on hold for pick-up at' with no library name 6. Apply patch and redo steps 1-4 7. Confirm the alert include's Library B's name This item is on hold for pick-up at Library B Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt index b3059e65abd..44a65e7c971 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt @@ -54,7 +54,7 @@ [% FOREACH cancel_result %] [% IF ( messagetransfert ) %]
-

This item is on hold for pick-up at [% Branches.GetName( branchname ) | html %]

+

This item is on hold for pick-up at [% Branches.GetName( branchcode ) | html %]

[% nextreservtitle | html %] is on hold for [% nextreservsurname | html %], [% nextreservfirstname | html %]. Please retain this item and check it in to process the hold.

-- 2.39.5