[Koha-bugs] [Bug 13106] New: Encapsulate Circulation::GetAgeRestriction() and modify it to check borrowers age as well.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 17 16:28:16 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13106

            Bug ID: 13106
           Summary: Encapsulate Circulation::GetAgeRestriction() and
                    modify it to check borrowers age as well.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: olli-antti.kivilahti at jns.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

This patch moves the logic of deciding whether or not a borrower is old enough
to access this material to its own function GetAgeRestriction.

This makes it easier to use AgeRestriction elsewhere, like with placing holds.

Unit tests included.

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


More information about the Koha-bugs mailing list