[Koha-bugs] [Bug 14874] Add ability to search for patrons by date of birth from checkout and patron quick searches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 15 17:25:33 CEST 2016


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 51503
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51503&action=edit
Bug 14874 - Add ability to search for patrons by date of birth from checkout
and patron quick searches

This patch alters C4::Utils::DataTables::Members::search to autodetect
if the searchmember parameter is a date and search by DOB if so

To test:
1 - Apply patch
2 - Search for members by DOB formatted as per dateformat syspref or
mysql format
3 - Results should be returned as expected
4 - Search combined with other terms, results should be returned as
expected
5 - Search for patrons without using dates, results should be as
expected
6 - Search using search fields 'Date of birth' from expanded menu on
patron search - results should be returned as before (Note dying on
        incorrect format is an existing bug)
7 - prove t/db_dependent/Utils/Datatables_Members.t

Sponsored by Carnegie Stout Library (https://www.dubuque.lib.ia.us/)

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