[Koha-bugs] [Bug 14794] Searching patron by birthday is slow / never gives a result
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 8 20:54:23 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14794
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |http://bugs.koha-community.
| |org/bugzilla3/show_bug.cgi?
| |id=13601
--- Comment #2 from Marc Véron <veron at veron.ch> ---
For the case of the search at the left (endless 'Processing'):
It dies inside a call to dt_from_string($searchmember) in
svc/members/search, line 51
For the search from the header, it dies dies inside a call to
dt_from_string($searchmember) in
members/member.pl , line 70
dt_from_string dies in Koha/DateUtils.pm at line 144 if it does not get a
valid date string (in the current syspref format or in the iso format).
I think that this part of dt_from_string should go to a separate sub.
See
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13601#c27
It could then be used for pre-testing date strings from user inputs like the
ones in this bug.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list