From 9076f0ba3d11875028e87fae314ae993c196cb2a Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 5 Dec 2023 16:50:37 +0000 Subject: [PATCH] Bug 35492: Open holds tab by default on opac-user.pl after suspending a hold To recreate: 1. Go to the opac-user.pl page for a user with some holds and suspend a hold. 2. Note after placing the hold the URL is: http://localhost:8080/cgi-bin/koha/opac-user.pl?#opac-user-holds 3 Note the holds tab is not active 4. APPLY PATCH and restart all 5. Now after suspending a hold, the refreshed page should have an active hold tab. Signed-off-by: Owen Leonard Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer --- opac/opac-modrequest-suspend.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-modrequest-suspend.pl b/opac/opac-modrequest-suspend.pl index 4022bb92df..c769b6ea4c 100755 --- a/opac/opac-modrequest-suspend.pl +++ b/opac/opac-modrequest-suspend.pl @@ -45,4 +45,4 @@ else { ); } -print $query->redirect("/cgi-bin/koha/opac-user.pl#opac-user-holds"); +print $query->redirect("/cgi-bin/koha/opac-user.pl?opac-user-holds=1"); -- 2.39.5