diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index 547164355f..9fb799a86a 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -47,6 +47,7 @@ my $fbr = $input->param('fbr') || ''; my $tbr = $input->param('tbr') || ''; my $all_branches = $input->param('allbranches') || ''; my $cancelall = $input->param('cancelall'); +my $tab = $input->param('tab'); my $cancel; @@ -162,7 +163,9 @@ $template->param( ReservesMaxPickUpDelay => C4::Context->preference('ReservesMaxPickUpDelay') ); -if ($cancelall) { +if ($item && $tab eq 'holdsover') { + print $input->redirect("/cgi-bin/koha/circ/waitingreserves.pl#holdsover"); +} elsif ($cancelall) { print $input->redirect("/cgi-bin/koha/circ/waitingreserves.pl"); } else { output_html_with_http_headers $input, $cookie, $template->output; 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 1d5faf4f8b..1028033514 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt @@ -109,6 +109,7 @@ + [% IF ( reserveloo.dotransfer ) %] [% ELSE %] @@ -130,6 +131,7 @@
+
[% UNLESS TransferWhenCancelAllWaitingHolds %] @@ -167,6 +169,7 @@ + [% IF ( overloo.dotransfer ) %] [% ELSE %]