]> git.koha-community.org Git - koha.git/commit
Bug 30713: Patron entry should limit date of birth selection to dates in the past
authorOwen Leonard <oleonard@myacpl.org>
Fri, 6 May 2022 15:21:43 +0000 (15:21 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Jun 2022 16:50:00 +0000 (13:50 -0300)
commit4d16ca1069760f32df4c8bb8267fd24e21f812aa
treef7d510d4b2b32228e90ef1963c34cc6016da3ba8
parent79396ae625ac772e4a6c01f2649a7147a07cc7b7
Bug 30713: Patron entry should limit date of birth selection to dates in the past

This patch adds to the configuration of the date of birth field in the
patron entry form so that the calendar widget prohibits the selection of
a date in the future.

To test, apply the patch and open a patron record for editing. Try to
select a birth date in the future using the calendar widget. You should
be limited to a selection of today or before.

Confirm that clicking the "Yesterday" and "Today" shortcuts in the
calendar widget works correctly.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt