Koha-clms/Koha/BackgroundJob
Tomás Cohen Arazi 3edd575263
Bug 42489: Pass unallocated mode to real-time holds queue
When RealTimeHoldsQueueUnallocated is enabled, the background job
passes unallocated => 1 and delete => 0 to update_queue_for_biblio.
This skips deleting existing queue entries and only processes holds
not already allocated, matching the --unallocated behavior of
build_holds_queue.pl.

Test plan:
1. Apply patches
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/BackgroundJob/BatchUpdateBiblioHoldsQueue.t
=> SUCCESS: Tests pass!
3. Tests verify:
   - delete => 1 and no unallocated when pref is off
   - delete => 0 and unallocated => 1 when pref is on
4. Sign off :-D

Signed-off-by: Alex Carver [Acerock7] <alex@rcls.org>
Sponsored-by: The Main Library Alliance <https://www.mainlib.org/>
Signed-off-by: Alex Carver [Acerock7] <alex@rcls.org>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-07-27 12:12:47 +00:00
..
BatchCancelHold.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchDeleteAuthority.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
BatchDeleteBiblio.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
BatchDeleteItem.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateAuthority.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateBiblio.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateBiblioHoldsQueue.pm Bug 42489: Pass unallocated mode to real-time holds queue 2026-07-27 12:12:47 +00:00
BatchUpdateItem.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
CreateEHoldingsFromBiblios.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ErmSushiHarvester.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ImportKBARTFile.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
MARCImportCommitBatch.pm Bug 40846: Improve handling of ignored records 2026-01-21 07:44:20 -07:00
MARCImportRevertBatch.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
PseudonymizeStatistic.pm Bug 41238: Update progress for peseudonmyzation bacgkround jobs 2025-12-17 13:24:30 -07:00
StageMARCForImport.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
TestTransport.pm Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
UpdateElasticIndex.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00