From 526d0928aadb76a72e65547406a906577f8f8f24 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 3 Nov 2022 23:05:31 +0000 Subject: [PATCH] Bug 31391: (follow-up) Fix cancel recalls using checkbox Signed-off-by: David --- koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt | 1 + recalls/request.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt index 3f14c37489..f2d3c297a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt @@ -219,6 +219,7 @@ [% IF recalls.count %]
+ Select all [% INCLUDE 'recalls.inc' %]
diff --git a/recalls/request.pl b/recalls/request.pl index 2d24133e57..2ec38ccd78 100755 --- a/recalls/request.pl +++ b/recalls/request.pl @@ -46,6 +46,7 @@ if ( $op eq 'cancel_multiple_recalls' ) { foreach my $id ( @recall_ids ) { Koha::Recalls->find( $id )->set_cancelled; } + print $input->redirect('/cgi-bin/koha/recalls/request.pl?biblionumber='.$biblionumber); } elsif ( $op eq 'request' ) { -- 2.30.2