From f1340536018a263af98146b2e9cef0c42f0e26a5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 25 May 2021 09:20:45 +0200 Subject: [PATCH] Bug 28158: Remove additional backgroundjob related code Signed-off-by: Nick Clemens Signed-off-by: Victor Grousset/tuxayo --- .../prog/en/modules/tools/batchMod-edit.tt | 10 ---------- tools/batchMod.pl | 8 -------- 2 files changed, 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index bab38c17e0..e07e44b228 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -118,8 +118,6 @@ - - [% IF biblionumber %] @@ -340,10 +338,6 @@
-
-
Job progress:
0%
-
-
Cancel
@@ -370,7 +364,6 @@ [% MACRO jsinclude BLOCK %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] - [% Asset.js("js/background-job-progressbar.js") | $raw %] [% Asset.js("js/cataloging.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/pages/batchMod.js") | $raw %] @@ -399,9 +392,6 @@ $(regex_link).show(); } }); - $("#mainformsubmit").on("click",function(){ - //return submitBackgroundJob(this.form); - }); $('a[name="field_regex"]').click(function() { var id = $(this).attr('id'); var editor = $(this).parent().find("[name='field_value']"); diff --git a/tools/batchMod.pl b/tools/batchMod.pl index f273b9cf51..fa4a86ec96 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -170,13 +170,6 @@ if ($op eq "action") { } } - my $yesno = Koha::AuthorisedValues->search({category => 'YES_NO'}); - my $ynhash = {}; - - while(my $yn = $yesno->next) { - $ynhash->{'av'.$yn->authorised_value} = $yn->lib; - } - my $upd_biblionumbers; my $del_biblionumbers; try { @@ -185,7 +178,6 @@ if ($op eq "action") { sub { # For each item my $i = 1; - my $extra_headers = {}; foreach my $itemnumber (@itemnumbers) { my $item = Koha::Items->find($itemnumber); next -- 2.31.1