From a0e0b7efe9f55ad1768303ec8585b0ea4b3d4297 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Wed, 15 Mar 2023 13:30:26 +1300 Subject: [PATCH] Revert "Bug 31540: Exclude expired holds from the reminder job" This reverts commit 154af0fae71fd694010653703bea41b0abbc4aec. --- misc/cronjobs/holds/holds_reminder.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/cronjobs/holds/holds_reminder.pl b/misc/cronjobs/holds/holds_reminder.pl index 9824fe39c9..76b4f81a2b 100755 --- a/misc/cronjobs/holds/holds_reminder.pl +++ b/misc/cronjobs/holds/holds_reminder.pl @@ -256,7 +256,6 @@ foreach my $branchcode (@branchcodes) { #BEGIN BRANCH LOOP my $reserves = Koha::Holds->search({ waitingdate => {$comparator => $waiting_since }, 'me.branchcode' => $branchcode, - '-or' => [ expirationdate => undef, expirationdate => { '>' => \'CURDATE()' } ] },{ prefetch => 'patron' }); $verbose and warn "No reserves found for $branchcode\n" unless $reserves->count; -- 2.39.5