From 8b171f693d1f2489337a9ae81a9e57bc58c58488 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 20 Feb 2012 12:20:19 -0500 Subject: [PATCH] bug 6039: Cancel All waiting holds button - Addendum: Add redirect to refresh list after canceling all holds. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- circ/waitingreserves.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.5