]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1965065 Example DOB on self-registration displays twice
authorGarry Collum <gcollum@gmail.com>
Tue, 28 Jun 2022 15:07:46 +0000 (15:07 +0000)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 30 Jan 2023 15:15:38 +0000 (10:15 -0500)
commitf47267e04061754e3266d0f85bb3819d6d95bb17
tree8903ed1c4b7e34354c6dade12202e7a662358f0a
parentc54f13165a5c6d9cb061a2ed13bfc10ae07d4d08
LP1965065 Example DOB on self-registration displays twice

This fixes the double display of the example text in the self-registration form of the opac.
Not only does DOB example display twice but the example text for phone, email, and
postal code also display twice.

To test:
1. Go to library settings and set "Allow Patron Self Registration" and "Show DOB field on patron
registration" to true.  Set a value for "Example dob field on patron registration".  If testing
phone, postal code, or email the appropriate values must be set for the show and example
parameters.
2. Go to "Request a Library Card" in the opac.
3. Notice that the DOB example displays twice.
4. Apply the patch.
5. The example now just displays once.

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