https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42529
--- Comment #30 from Jonathan Druart <[email protected]> --- Created attachment 200879 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200879&action=edit Bug 42529: Use Koha::Policy::Biblio::AgeRestriction for issuing and holds This patch updates CanBookBeIssued and CanItemBeReserved to use the new policy class instead of calling GetAgeRestriction directly. Test plan: 1. Run tests without this patch: $ ktd --shell k$ prove t/db_dependent/Circulation.t \ t/db_dependent/Reserves.t => SUCCESS: Tests pass! 2. Apply this patch 3. Repeat step 1 => SUCCESS: Tests pass! 4. Sign off :-D Signed-off-by: Martin Renvoize <[email protected]> Signed-off-by: Jonathan Druart <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
