]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1655158 Patron Search by Date of Birth
authorblake <blake@mobiusconsortium.org>
Thu, 31 Aug 2017 20:33:17 +0000 (20:33 +0000)
committerBill Erickson <berickxx@gmail.com>
Thu, 31 Aug 2017 21:02:59 +0000 (17:02 -0400)
commitbaf337b63d09b24a516881a91366da714e472c92
tree4c4f2b56cdde122a429456392db38df166be7a40
parentedc503b788fd587b014932b0b2fbaf44b295d170
LP1655158 Patron Search by Date of Birth

Adds three UI boxes to the WBSC "Show Extra" patron search. One for the year, month and day.
The javascript on the page is altered to deliver group "4" to the backend. Local javascript
strips out non-numeric user entered data. The backend is updated to handle the new group.
SQL is genereated using the DATE_PART postgres function.

1. Open the web based staff client and browse to the patron search UI.
2. Click the show more down arrow button. Notice the lack of birth date field.
3. Apply the patch, repeat step one. Notice the addition of birth date boxes.
4. Type 1975 into the birth year box and press enter. Notice search results.
5. Try searching for partial names and partial birthdates.
6. Try entering non-numeric data into the birth date boxes.
7. Try searching for patrons without including the dob. Try with only the dob. Try a mix.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
Open-ILS/src/templates/staff/share/t_patron_search_form.tt2
Open-ILS/web/js/ui/default/staff/services/patron_search.js
docs/RELEASE_NOTES_NEXT/Circulation/lp1655158_search_by_dob_NOTES.adoc [new file with mode: 0755]