diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index 84d3b921f9..c9c9f0e921 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -159,7 +159,11 @@ $template->param( ReservesMaxPickUpDelay => C4::Context->preference('ReservesMaxPickUpDelay') ); -output_html_with_http_headers $input, $cookie, $template->output; +if ($cancelall) { + print $input->redirect("/cgi-bin/koha/circ/waitingreserves.pl"); +} else { + output_html_with_http_headers $input, $cookie, $template->output; +} exit;