From 042df55f46f6067280560d8ea3bbdddeb26ec501 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 --- reserve/modrequest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index 014d2411ec..eb97925f0a 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -109,7 +109,7 @@ else { { biblio_ids => \@biblio_ids } - ); + ) if C4::Context->preference('RealTimeHoldsQueue'); } my $from=$query->param('from'); -- 2.39.5