From bb54d3f1cea511c74403df6789899e24d8c452ff Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 27 Feb 2024 15:05:46 -0500 Subject: [PATCH] Bug 34478: Manual fix - reopen basket - add cud- - basket.tt Signed-off-by: Jonathan Druart --- acqui/basket.pl | 2 +- .../prog/en/modules/acqui/basket.tt | 28 +++++++++---------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/acqui/basket.pl b/acqui/basket.pl index 2253532597..6401125d01 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -221,7 +221,7 @@ if ( $op eq 'cud-delete_confirm' ) { basketgroupname => $basket->{'basketname'}, ); } -} elsif ($op eq 'reopen') { +} elsif ($op eq 'cud-reopen') { ReopenBasket(scalar $query->param('basketno')); print $query->redirect('/cgi-bin/koha/acqui/basket.pl?basketno='.$basket->{'basketno'}) } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index bcbd20b9bc..526461f070 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -192,7 +192,14 @@ [% ELSE %] - +
+
+ [% INCLUDE 'csrf-token.inc' %] + + + +
+
[% PROCESS csv_export %] [% END %] @@ -1117,17 +1124,6 @@ }); }); - [% UNLESS ( grouped ) %] - - [% END # /UNLESS grouped %] [% END # /UNLESS (closedate) %]