From 75741e776f9f6b83f9a5943ef9b461d6d2332fa9 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 24 Mar 2025 18:24:48 +0000 Subject: [PATCH] Bug 17338: Fix anchor to redirect properly when canceling holds over X To test: 1. Place multiple holds, good to have at least 4, for pickup at a location, I used Nick's handy script 2. Perl misc/cronjobs/holds/build_holds_queue.pl 3. Check in at least 4 items for pickup at one location so they'll be wating 4. Update the expiration date on those holds using ktd --dbshell update reserves set expirationdate = DATE('2024-01-01') where branchcode='CPL'; 5. On Circulation > Holds waiting past their expiration date tab use the cancel button that is in the actions column to cancel a hold The page loads on the Holds waiting tab, although in the url you see /circ/waitingreserves.pl#holdsover 6. APPLY PATCH 7. Try 1 - 5 again, this time after step 5 you should be redirected. Signed-off-by: Andrew Auld --- koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc index ef43953e30..41bd9a3a09 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc @@ -74,7 +74,7 @@ - + [% IF ( reserveloo.item.homebranch != reserveloo.item.holdingbranch ) %] [% ELSE %] -- 2.39.5