[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
Thu Sep 29 11:05:03 CEST 2016


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veron at veron.ch

--- Comment #32 from Marc Véron <veron at veron.ch> ---
Updating database did not work because 
/installer/data/mysql/atomicupdate/bug14874-addDefaultPatronSearchFieldspreference
should be:
/installer/data/mysql/atomicupdate/bug14874-addDefaultPatronSearchFieldspreference.sql

After fixing
- test runs fine
- I can search a patron by date of birth (with dateofbirth added to
'DefaultPatronSearchFields')

- It works with different date formats (sypref dateformat)

- Standard fields work with name + date (e.g. meier 12.01.1995) 
- ...with name + day (e.g. meier 12)
- ...with name + month (e.g.meier 01)
- ...with name + year (e.g.meier 1995)
- It does not work with name + partial date (e.g. meier 12.01)

- I can trigger an 'Internal Server Error' by selecting "Date of birth" as
search field and searching for an invalid date (e.g. 12.01 instead of
12.01.1995)

- E.g. with zipcode added to syspref, I can find a patron by zipcode using
searchfields = standard, however I can not select zipcode as search field.
Would be nice to have (in a separate bug/enhancement based on this bug).

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


More information about the Koha-bugs mailing list