[Koha-bugs] [Bug 27032] CanBookBeRenewed is not understandable and needs refactoring
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 16 15:01:07 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27032
Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #113667|0 |1
is obsolete| |
--- Comment #3 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 113668
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113668&action=edit
Bug 27032: Move auto renewal code out of CanBookBeRenewed
This moves the checks related to whether auto renewal can be done on
the checkout to its own function _CanBookBeAutoRenewed(). This makes
it more clear which parts of the code are related to auto renewal
checking and which are not.
To test:
1) Make sure prove t/db_dependent/Circulation.t still passes
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list