omnibus patch for Patron Self-Registration improvements

Bug #2065448 reported by Jason Etheridge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Committed
Medium
Unassigned

Bug Description

This covers (solves or dissolves) the following bugs:

Option to Hide Requested Username on Patron Self Registration Form
https://bugs.launchpad.net/evergreen/+bug/1951013

Example DOB field can break for self-registration Edit
https://bugs.launchpad.net/evergreen/+bug/1860719

Self-registration DOB validation regex is too lax, should only allow '-' separator
https://bugs.launchpad.net/evergreen/+bug/1774253

Self-registration: system accepts wrong DOB format
https://bugs.launchpad.net/evergreen/+bug/1814150

From the release notes:
 * For patron self-registration, improves styling and accessiblity and adds the following library settings:
   ** 'Hide Username field in Patron Self-Reg.'
       Hides the Requested Username field in the Patron Self-Registration interface.
   ** 'Patron Self-Reg. Date of Birth Order'
       The order in which to present the Month, Day, and Year elements for the Date of Birth field in Patron Self-Registration. Use the letter M for Month, D for Day, and Y for Year. Examples: MDY, DMY, YMD'

I'll post the branch once LP gives me a ticket number I can update the commits with.

Revision history for this message
Jason Etheridge (phasefx) wrote :
tags: added: opac pullrequest
Changed in evergreen:
milestone: none → 3.13-beta
status: New → Confirmed
Changed in evergreen:
importance: Undecided → Medium
Revision history for this message
Seth Erickson (serickson74) wrote :

I have tested this bugfix and sign off.

Andrea Neiman (aneiman)
tags: added: signedoff
Changed in evergreen:
milestone: 3.13-beta → 3.13-rc
Andrea Neiman (aneiman)
Changed in evergreen:
milestone: 3.13-rc → 3.13.1
Changed in evergreen:
milestone: 3.13.1 → 3.13.2
Changed in evergreen:
milestone: 3.13.2 → 3.13.3
Changed in evergreen:
milestone: 3.13.3 → 3.14-beta
Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Testing notes:

This work added a way to configure the layout of birthdate fields in the patron self-registration screen (/eg/opac/register). This is controlled by a new library setting, Patron Self-Reg. Date of Birth Order, which accepts as values “MDY”, “YDM”, “DMY” or other configurations.

The relevant library settings should be set as follows:
Allow Patron Self-Registration - CONS - true
Require dob field on patron registration - CONS - true
Patron Self-Reg. Date of Birth Order - CONS - MDY

The first two settings need to be TRUE in order for DOB fields to display in patron self-registration.

This work adds another new library setting, Hide Username field in Patron Self-Reg, which is currently set to TRUE at CONS on the test server.

If you wish to test either of these settings at different levels of the org hierarchy, you will need to load an org-specific version of the OPAC using the locg parameter, for example:
BR1: /eg/opac/home?locg=4
SL1: /eg/opac/home?locg=8
BR2: /eg/opac/home?locg=5
BR3: /eg/opac/home?locg=6
etc.

Make sure to delete the existing setting values for CONS and then re-set them at the appropriate org unit level.

Once you have added your patrons through Self-Registration, you can view them in the Pending Patrons interface and load them and save them in the Patron Editor.

Changed in evergreen:
assignee: nobody → Jason Stephenson (jstephenson)
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Thanks for the testing instructions, Stephanie!

We reviewed this branch in the collaborative code review on July 29, 2024 and it did the thing with no apparent side effects.

I've added my sign off and pushed to main for inclusion in 3.14-beta!

Thanks everyone!

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Jason Stephenson (jstephenson) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.