[Koha-bugs] [Bug 12342] Patron registration datepicker dropdown shows only 10 years

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 12 17:09:25 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12342

--- Comment #2 from Martin Persson <xarragon at gmail.com> ---
Created attachment 39089
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39089&action=edit
Bug 12342: Patron registration datepicker dropdown shows only 10 years

This patch changes the options to the date picker, allowing easy
selection of dates up to 100 years from the current date.
Default value selected is current date minus 15 years; this assumes that
15 years is a common age for new patrons.

To test:
- Click on 'Patrons' from the main menu, select 'New patron'
- Set input focus to the 'Date of birth' input field,
  the date selection widget should show up.
- The default selected date will be current date minus one.
- The year selection drop-down will only show current year minus 10.
- Apply the patch
- Go back to the same screen, set input focus to the 'Date of birth' field.
- The default selected date should be current year minus 15.
- The year selection drop-down should show current year minus 100.

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


More information about the Koha-bugs mailing list