From 7f35a238f219faa7e21d3bed0742f4ac53f116f1 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 Signed-off-by: Jonathan Druart (cherry picked from commit 48e5171214378ce5e4fcbae6d41aa89e02a50d26) Signed-off-by: Fridolin Somers --- .../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 a9188ed437..60cd73d299 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 @@ -5,7 +5,6 @@ Koha › Tools › Batch item modification [% INCLUDE 'doc-head-close.inc' %] [% 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 %] @@ -35,9 +34,6 @@ $(document).ready(function(){ $(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']"); @@ -150,8 +146,6 @@ $(document).ready(function(){ - - [% IF biblionumber %] @@ -350,10 +344,6 @@ $(document).ready(function(){
-
-
Job progress:
0%
-
-
Cancel
diff --git a/tools/batchMod.pl b/tools/batchMod.pl index b5dba8aa8f..dacdf8e8ad 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.39.5