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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 804-810 Unsuspends all suspended reserves with a suspend_until date from before today. Link Here
804
sub AutoUnsuspendReserves {
804
sub AutoUnsuspendReserves {
805
    my $today = dt_from_string();
805
    my $today = dt_from_string();
806
806
807
    my @holds = Koha::Holds->search( { suspend_until => { '<' => $today->ymd() } } );
807
    my @holds = Koha::Holds->search( { suspend_until => { '<=' => $today->ymd() } } );
808
808
809
    map { $_->suspend(0)->suspend_until(undef)->store() } @holds;
809
    map { $_->suspend(0)->suspend_until(undef)->store() } @holds;
810
}
810
}
811
- 

Return to bug 21075