Koha/svc
Jonathan Druart 9b34b07d62 Bug 17375: Search by dateofbirth - handle invalid dates
Prevent internal software error when searching patron with invalid birth date

To reproduce:

- Go to Home > Patron
- Expand patron search (click on + at the left of the search button)
- In drop down 'Search fields', select 'Date of birth'
- Enter a valid date (e.g. 11.02.1995 if syspref 'dateformat' is set to dmydot)
Result: Search works OK
- Enter an invalid date, e.g. 11.02 or abcd...
Result: Internal server error

- Do a patron search with many results
- Use filter on results screen, select 'Date of birth' as search field and
  enter an invalid date to search (e.g. 'a')
Result: Endless message 'Processing'

To test:
- Apply patch
- Repeat steps above
- In both cases, you should get "No results"

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Lucio Moraes <lmoraes@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-10-27 13:18:32 +00:00
..
cataloguing Bug 17285: (15758 follow-up) Fix advanced editor 2016-09-12 15:33:11 +00:00
config
hold Bug 8030 - (QA followup) Remove svc file no longer user Use animated gif for waiting as elsewhere Remove confirmation 2016-09-12 08:47:04 +00:00
members Bug 17375: Search by dateofbirth - handle invalid dates 2016-10-27 13:18:32 +00:00
records
virtualshelves
article_request Bug 14610 - Add and update scripts 2016-10-26 12:15:14 +00:00
authentication
barcode
bib Bug 11559: Supporting changes for Rancor 2015-10-27 12:16:05 -03:00
bib_profile
checkin
checkouts Bug 17252 - Koha::AuthorisedValues - Remove GetAuthorisedValueByCode 2016-10-21 15:35:21 +00:00
cover_images
holds Bug 8030 - (QA Folllowup) Use Koha::Libraries 2016-09-12 08:47:46 +00:00
import_bib
letters
localization
new_bib
renew
report Bug 16769: [QA Follow-up] Still found an occurrence 2016-10-10 17:03:55 +00:00