Setting Library Setting Show county field on patron registration to False isn't honored

Bug #1910579 reported by Erica Rohlfs
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

Originally noticed in EG version 3.4.3 and I just verified the same behavior in version 3.6.0

When setting Library Setting: Show county field on patron registration to the value of False, the County field remains on the patron registration screen (in all tab options: Required Fields, Suggested Fields, and All Fields).

Garry Collum (gcollum)
Changed in evergreen:
status: New → Confirmed
tags: added: orgunitsettings patron
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Confirmed in 3.8.0. County continues to show in Required Fields, Suggested Fields, and All Fields when "Show county field on patron registration" is set to False.

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Continues to be an issue in 3.9

Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

It looks like any field with default_field_visibility = 2 in PatronRegCtl incorrectly behaves as if it were required, regardless of org unit settings.

Also, the get_org_settings function only looks up the ui.patron.edit.aua.county.require setting; it should probably retrieve .show as well. (There is no .suggest setting for county.)

Revision history for this message
Jason Stephenson (jstephenson) wrote :

I'm making this a duplicate of bug 1815950 because I intend to fix all of these issues with a followup to a. bellenir's patch on that bug.

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.