From cd0b535b1f3b4877226a5f970d6a5753982faef9 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 23 Apr 2024 13:42:50 +0200 Subject: [PATCH] Bug 35979: Check pref before inserting holds_queue background jobs Test plan: Confirm that modrequest does no longer insert when pref is off :) Signed-off-by: Marcel de Rooy Signed-off-by: Marcel de Rooy Signed-off-by: Pedro Amorim Signed-off-by: Katrin Fischer (cherry picked from commit 310ba95efa7e83559134c7660f7739a6d1314524) Signed-off-by: Fridolin Somers (cherry picked from commit 042df55f46f6067280560d8ea3bbdddeb26ec501) Signed-off-by: Lucas Gass --- reserve/modrequest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index 79b3394f7f..76249cb04e 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -95,7 +95,7 @@ else { { biblio_ids => \@biblio_ids } - ); + ) if C4::Context->preference('RealTimeHoldsQueue'); } my $from=$query->param('from'); -- 2.39.5