https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42489 --- Comment #11 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 200789 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200789&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.