[Koha-bugs] [Bug 8864] AutoUnsuspendReserves date check incorrect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 5 00:58:13 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8864

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |katrin.fischer at bsz-bw.de
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This has been fixed:
 868 sub AutoUnsuspendReserves {
 869     my $today = dt_from_string();
 870 
 871     my @holds = Koha::Holds->search( { suspend_until => { '<=' =>
$today->ymd() } } );
 872 
 873     map { $_->suspend(0)->suspend_until(undef)->store() } @holds;
 874 }

*** This bug has been marked as a duplicate of bug 21075 ***

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list