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 <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Lucas Gass 2023-12-05 17:47:50 +00:00 committed by Katrin Fischer
parent 9076f0ba3d
commit cc9e40869a
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -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");