Bug 34478: Manual fix - tools/batchMod-del

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2024-02-22 16:21:21 +01:00
parent 268e898910
commit 9736227d68
Signed by: jonathan.druart
GPG key ID: A085E712BEF0E0F0
2 changed files with 3 additions and 3 deletions

View file

@ -134,7 +134,7 @@
<form name="f" action="batchMod.pl" method="post">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="biblionumber" id="biblionumber" value="[% biblionumber | html %]" />
<input type="hidden" name="op" value="cud-[% op | html %]" />
<input type="hidden" name="op" value="[% op | html %]" />
<input type="hidden" name="searchid" value="[% searchid | html %]" />
<input type="hidden" name="src" id="src" value="[% src | html %]" />
[% IF biblionumber %]
@ -167,7 +167,7 @@
[% IF ( itemresults ) %]
<div id="cataloguing_additem_newitem" class="item_edit_form">
<input type="hidden" name="op" value="cud-[% op | html %]" />
<input type="hidden" name="op" value="[% op | html %]" />
<p>This will delete [% IF ( too_many_items_display ) %]all the[% ELSE %]the selected[% END %] items.</p>
<input type="hidden" name="del" value="1" />
<input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">Delete records if no items remain.</label>

View file

@ -47,7 +47,7 @@ my $error = $input->param('error');
my @itemnumbers = $input->multi_param('itemnumber');
my $biblionumber = $input->param('biblionumber');
my $op = $input->param('op');
my $del = $input->param('cud-del');
my $del = $input->param('del');
my $del_records = $input->param('del_records');
my $src = $input->param('src');
my $use_default_values = $input->param('use_default_values');