]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/templates-bootstrap/opac/register.tt2
LP1951642 Self-registration DOB autopopulating date
authorGarry Collum <gcollum@gmail.com>
Tue, 28 Jun 2022 11:59:21 +0000 (11:59 +0000)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 29 Jun 2022 20:11:32 +0000 (16:11 -0400)
commite361dcaebccdd8a7e1bfc8f58905a68deed1930d
treeeeec82c31d7aa1e5d8a0f319874cf7ed16c66893
parent6147c6193b0ec19470786b668f0d9f22ebc17fa7
LP1951642 Self-registration DOB autopopulating date

This removes the autopopulation of the dob date in the OPAC's
self-registration page. Note that the issue applies only to
the Bootstrap OPAC, not TPAC.

To test:

1. In library settings turn on "Allow Patron Self-Registration" and "Show dob
field in patron registration". "Require dob field on patron registration"
can also be turned on to test that option.

2. Go to the "Request Library Card" page of the opac and notice that the
dob field is populated with today's date.

3. Apply the patch.

4. Check the dob field again and notice that it is no longer autopopulated.

5. Create a few registrations with dob dates and with no dob dates to confirm
that the field works.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/templates-bootstrap/opac/register.tt2