bug 6039: Cancel All waiting holds button - Addendum: Add redirect to refresh list after canceling all holds.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Kyle Hall 2012-02-20 12:20:19 -05:00 committed by Paul Poulain
parent b17653355c
commit 8b171f693d

View file

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