Bug 26080: Use the task queue for batch delete biblios
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Jul 2020 09:17:34 +0000 (11:17 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Oct 2021 13:35:36 +0000 (15:35 +0200)
commit6e4182c4fca434441e51c7e3066246c7f73a1e5e
tree1730fac50f07cd07a3c9c863ecec25c8a5df4a87
parent1e9c2afbb37a38ec48f0f7eecf51cc785af50fc0
Bug 26080: Use the task queue for batch delete biblios

This patch takes advantage of the task queue to delegate the batch
delete biblios tool.

Test plan:
Delete bibliographic 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/BatchDeleteBiblio.pm [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