Koha-clms/Koha/BackgroundJob
Jonathan Druart 85dc90c151
Bug 30974: Set size for indexing jobs to 1
job's size is the number of records to index, but when finished the progress is always set to 1.

Wich leads to: finished 1/42

Test plan:
Don't apply this patch
Use the batch item modification tool to update more than 1 item
Notice that the new indexing job has a size of the number of items you
modified
When finished, the job detail shows "Finished. 1/X"
Apply this patch, repeat
Notice that now the progress shows 0/1 before the job is done, then 1/1
when finished

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-16 09:41:32 -03:00
..
BatchCancelHold.pm Bug 27783: Rename queues and adjust currently defined jobs 2022-04-13 15:55:40 +02:00
BatchDeleteAuthority.pm Bug 30459: Make BatchDeleteAuthority update the index in one request 2022-05-05 11:17:36 -10:00
BatchDeleteBiblio.pm Bug 30728: Only trigger real-time holds queue update if enabled 2022-05-12 22:17:46 -10:00
BatchDeleteItem.pm Bug 30728: Only trigger real-time holds queue update if enabled 2022-05-12 22:17:46 -10:00
BatchUpdateAuthority.pm Bug 30464: Make BatchUpdateAuthority update the index in one request 2022-05-05 11:17:36 -10:00
BatchUpdateBiblio.pm Bug 30465: Make BatchUpdateBiblio update the index in one request 2022-05-05 11:17:37 -10:00
BatchUpdateBiblioHoldsQueue.pm Bug 29346: Add better reporting 2022-05-05 11:17:36 -10:00
BatchUpdateItem.pm Bug 27783: Rename queues and adjust currently defined jobs 2022-04-13 15:55:40 +02:00
UpdateElasticIndex.pm Bug 30974: Set size for indexing jobs to 1 2022-06-16 09:41:32 -03:00