]> git.evergreen-ils.org Git - Evergreen.git/commit
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:12:23 +0000 (16:12 -0400)
commit8e8f68a96b920db125e8439226d6cc4ef7abbacf
tree8c6d0ea9c52ff0aec8744c1d9d5f47ece26aa0b9
parenta3a1d10a50da74f6895642cde88817a09a4f7437
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