Bug 26080: Use the task queue for batch delete authorities
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Jul 2020 10:13:39 +0000 (12:13 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Oct 2021 13:35:36 +0000 (15:35 +0200)
commitd210b8b1ca2414ea9f49ab0217ebab3debab0dd7
treeda970719ab87b5007625d7957bcf78cd3c32302a
parent7adae4930bcd2ff27bc28186ab5fa1e866829e99
Bug 26080: Use the task queue for batch delete authorities

Same as the first patch, for authorities

Test plan:
Delete authority records using the batch record deletion tool
Confirm that the job is now delegated to the task queue and that
everything else is working as before

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/BackgroundJob.pm
Koha/BackgroundJob/BatchDeleteAuthority.pm [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_authority_record_deletion.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt
misc/background_jobs_worker.pl
tools/batch_delete_records.pl