]> git.koha-community.org Git - koha.git/commit
Bug 29149: Add the capability to provide more info to the background job detail view
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Jul 2021 17:22:29 +0000 (19:22 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Oct 2021 13:35:36 +0000 (15:35 +0200)
commit987a49406858daff25b33afbbda5e8ae087f930d
treebcda69938a80d11f5cbfd5915474075cfeb03b5d
parentccc4be5dc91ba4ddb9a17fcd9b9dc8af60853c6b
Bug 29149: Add the capability to provide more info to the background job detail view

(Patch extracted from bug 28445 to make it reusable for bug 23678)
We already had the need for that, when bibliographic records are
modified in batch we wanted to add a "Add to list" feature, and so pass
a list of lists/virtual shelves to the template.

Here (in 28445) we will want to pass the infos of the items that have been modified
to display a table.

Test plan:
0. Create at least one list (virtual shelf)
1. batch update biblios
2. Go to the job detail
3. Notice that dropdown list to add the record to a list
=> No regression found!

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/BatchUpdateBiblio.pm
admin/background_jobs.pl
t/db_dependent/Koha/BackgroundJobs.t