Bug 29346: Add holds queue update background job
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Feb 2022 11:46:20 +0000 (08:46 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 May 2022 21:17:35 +0000 (11:17 -1000)
commit830dfab5487e97dec94fdb6591245d31e54a15ee
treec4b7ebf39f7b6c442c0871803f4b2e1184007d9d
parent210c686f7bfc2fd4dc11bdd5fcd582eb9f8f4500
Bug 29346: Add holds queue update background job

This patch adds a background job that takes care of updating the holds
queue rows for a given list of biblios.

It is designed to be used for real-time batch updating the holds queue
when required. Tasks would be added by the relevant methods under the
right use cases.

Sponsored-by: Montgomery County Public Libraries
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/BackgroundJob.pm
Koha/BackgroundJob/BatchUpdateBiblioHoldsQueue.pm [new file with mode: 0644]