View | Details | Raw Unified | Return to bug 31540
Collapse All | Expand All

(-)a/misc/cronjobs/holds/holds_reminder.pl (-1 / +1 lines)
Lines 260-265 foreach my $branchcode (@branchcodes) { #BEGIN BRANCH LOOP Link Here
260
    my $reserves = Koha::Holds->search({
260
    my $reserves = Koha::Holds->search({
261
        waitingdate => {$comparator => $waiting_since },
261
        waitingdate => {$comparator => $waiting_since },
262
        'me.branchcode'  => $branchcode,
262
        'me.branchcode'  => $branchcode,
263
        '-or' => [ expirationdate => undef, expirationdate => { '>' => \'CURDATE()' } ]
263
    },{ prefetch => 'patron' });
264
    },{ prefetch => 'patron' });
264
265
265
    $verbose and warn "No reserves found for $branchcode\n" unless $reserves->count;
266
    $verbose and warn "No reserves found for $branchcode\n" unless $reserves->count;
266
- 

Return to bug 31540