From cc9e40869af83f1eff4f54577a48050f628c9a5c Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 5 Dec 2023 17:47:50 +0000 Subject: [PATCH] Bug 35495: Open holds tab by default on opac-user.pl after cancelling a hold To test: 1 - Go to the opac-user.pl page for a user with some holds and cancel 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 cancelling a hold, the refreshed page should have an active hold tab. Signed-off-by: David Nind Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer --- opac/opac-modrequest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-modrequest.pl b/opac/opac-modrequest.pl index 1518a3b72e..b60e706efe 100755 --- a/opac/opac-modrequest.pl +++ b/opac/opac-modrequest.pl @@ -74,4 +74,4 @@ if ( $reserve_id && $borrowernumber ) { } } -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