[Bug 24017] New: Search for year of birth
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24017 Bug ID: 24017 Summary: Search for year of birth Change sponsored?: --- Product: Koha Version: 18.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: christian.stelzenmueller@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Searching for the year of birth would be nice. Either in the searchfield "date of birth", or in an extra field. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24017 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Version|18.11 |master -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24017 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- You can add date of birth to the search form, however, if you try simply searching by year the search is returned empty C4::Utils::DataTables::Members->Search 66 if ( $searchfieldstype eq 'dateofbirth' ) { 67 # Return an empty list if the date of birth is not correctly formatted 68 $searchmember = eval { output_pref( { str => $searchmember, dateformat => 'iso', dateonly => 1 } ); }; 69 if ( $@ or not $searchmember ) { 70 return { 71 iTotalRecords => $iTotalRecords, 72 iTotalDisplayRecords => 0, 73 patrons => [], 74 }; 75 } 76 } -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org