]> git.koha-community.org Git - koha.git/commit
Bug 37037: touch_all_biblios.pl triggers rebuilding holds for all affected records...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 5 Jun 2024 15:04:31 +0000 (11:04 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Jul 2024 14:11:55 +0000 (16:11 +0200)
commit4b2aa90f7d55da2c710aa13977ea56c25f42e85d
treeb165a3e753edfb0aca255cdcbdf2a6a6eb7ca376
parente1b470ed8e539edbd88f07a8be0329e8012f6dab
Bug 37037: touch_all_biblios.pl triggers rebuilding holds for all affected records when RealTimeHoldsQueue is enabled

If RealTimeHoldsQueue is on, touch_all_biblios triggers a update_holds_queue_for_biblios background job for each affected record. This will result in a as many background jobs being queued up as records! It makes far more sense for this script to not do that which gives the administrator the option for running the holds queue builder if the changes would affect holdability, or to not run it at all.

Test Plan:
1) Run touch_all_biblios.pl
3) Note a update_holds_queue_for_biblios background job is queued for each record touched
4) Apply this patch
5) Merge touch_all_biblios.pl again
6) Note that no update_holds_queue_for_biblios jobs were queued

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 45bfbd0e2d7622eeac913682e95163a3f4489641)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 690ee4483b2d1a083d606b3aed6e8d072152d520)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/maintenance/touch_all_biblios.pl