From 310ba95efa7e83559134c7660f7739a6d1314524 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 --- reserve/modrequest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index 52c8bef468..e175fe1595 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -98,7 +98,7 @@ if( $op eq 'cud-cancelall' || $op eq 'cud-modifyall' ) { { biblio_ids => \@biblio_ids } - ); + ) if C4::Context->preference('RealTimeHoldsQueue'); } my $from=$query->param('from'); -- 2.39.5