]> git.koha-community.org Git - koha.git/commit
Bug 18447 - Datepicker only shows -10/+10 years
authorNick Clemens <nick@bywatersolutions.com>
Tue, 18 Apr 2017 14:57:20 +0000 (10:57 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Aug 2017 14:38:46 +0000 (11:38 -0300)
commit6cbe9abcc88dcfbcf495a5d39d4b4de00858080e
tree68c06ba1d7e3d7dcde20c0168f7a56d41d7b37ce
parent01e02364c905048908391615828f5878c2c5aac9
Bug 18447 - Datepicker only shows -10/+10 years

This patch makes 2 changes:
1 - Global datepicker defaulted to c-100:c+10
2 - Dateofbirth datepicker defaulted to c-100:c

To test:
1 - Open some date pickers (patron entry, subscriptions, anywhere really)
  - Make sure to check some dateofbirth datepickers
2 - Note that default is 10 years in either direction, updated when you
select
3 - Apply patch
4 - Note we now get -100 years / +10 years from current selection
5 - Now find a dateofbirth datepicker and note default is -100:+0
6 - Sign off

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc