Summary: | Preselect earlier date than today for date of birth date pickers when creating a patron account in staff or OPAC | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Persson <xarragon> |
Component: | Staff interface | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | gmcharlt, jonathan.druart, veron |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Martin Persson
2015-12-03 17:30:06 UTC
This was originally part of bug 12342 but was moved out to a separate feature. When new patrons are added the default selected date is the current date minus one day. I assume we do not register people on the day that they are born. This patch changes the default to -15 years, assuming the average patron entry age is around that age. Did you forget to apply the patch? Both the datepicker for date of birth in staff and OPAC go back a 100 years by default now. Both preselect to today's date. I am not sure if going back 15 years by default would really be helpful with the new longer year select and the option to type the date in directly? It might raise questions instead for being arbitrary. The flatpickr year selector works differently than our old one. Instead of a (limited) list of years, you can increment/decrement by 1 OR enter the year into the field. I think this renders this bug invalid for flatpickr. |