Bug 30465: Make BatchUpdateBiblio update the index in one request
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Apr 2022 09:38:27 +0000 (11:38 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 May 2022 21:17:37 +0000 (11:17 -1000)
commit734a02cf823d55a1f14ae6da2f8e371e66cd810d
tree2ab9225a293dae3e9aaf41bd080afae76e3b3598
parentc04782e1cc9c2083d67c9cbcfe47a74e4a9b57af
Bug 30465: Make BatchUpdateBiblio update the index in one request

When using the batch record modification tool to modify several
bibliographic records, we don't want to send one index request per
biblio, we want to index them all on the fly after the records have been
modified.
Otherwise we will end up with one task per record, and records will be
indexed in background.

Test plan:
Use the batch mod tool to modify bibliographic records and confirm the
behaviour is correct.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Biblio.pm
Koha/BackgroundJob/BatchUpdateBiblio.pm
Koha/Items.pm