[Koha-bugs] [Bug 17557] Move GetAge to Koha::Patron->get_age (and remove SetAge)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 4 18:21:02 CET 2016


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

--- Comment #4 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 57221
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57221&action=edit
[SIGNED-OFF] Bug 17557: Koha::Patrons - Move GetAge to ->set_age (and remove
SetAge)

As said in the previous commit, I considered SetAge as unnecessary and
removed it.

Test plan:
1/ Edit a patron using the different 'Edit' links
2/ Play with the patron category limited to age ranges, and date of
birth
3/ You should get the expected warning if the date of birth is inside
the patron category date range.

To finish:
  prove t/Circulation/AgeRestrictionMarkers.t t/db_dependent/Reserves.t \
        t/db_dependent/Koha/Patrons.t t/db_dependent/Members.t
should return green

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list