]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 12 Jul 2022 15:41:18 +0000 (15:41 +0000)
commit2fd707ef984283d849ff9f683a27a0c6f8601d52
treea525a545972ee926d541d4f7ed1789148f50115f
parentc520925a31c1ae123a1eedffeca7f5135ab875c7
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>
(cherry picked from commit 4d16ca1069760f32df4c8bb8267fd24e21f812aa)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt