[Koha-bugs] [Bug 29537] Simplify auto-renewal code in CanBookBeRenewed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 20 12:56:01 CET 2021


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

--- Comment #1 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 127901
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127901&action=edit
Bug 29537: Remove unnecessary if-else checks for soonest renew date

GetSoonestRenewDate() calculates the renewal due date now also
correctly for auto-renewals after the fixes from bug 29537 so we don't
have to add any if-else checks because of it being buggy anymore.

To test:
 1) prove t/db_dependent/Circulation.t

-- 
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