Patron Registration: Primary Identification Type should be hidden when Primary Identification is hidden
Bug #1631005 reported by
Josh Stompro
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
EG 2.10.6
Patron Registration: XUL Client and I tested with the web client at https:/
We don't make any use of the Primary Identification field. When the YAOUS for "Show ident_value field on patron registration" is set to false to hide the "Primary Identification" field, the "Primary Identification Type" should also be hidden.
Currently there doesn't seem to be a way to not show it. It doesn't make sense to me to show just the type field when the entry field is hidden.
Josh
tags: | added: patron webstaffclient |
tags: |
added: pullrequest removed: webstaffclient |
tags: |
added: needswork removed: needsrepatch |
To post a comment you must log in.
EG 3.3 - Web client
There seems to be a very simple way to address this in the web client.
In templates/ staff/circ/ patron/ t_edit. tt2
Set the show_field() for the ident_type to look at the au.ident_value field for visibility info. So if the ident_value field is shown, then show the ident_type field also.
This assumes that the ident_value and ident_type fields are supposed to be used together. If many sites use the behavior of only wanting the ident_type and ident_type2 dropdowns to show without the ident_value fields, then this won't fly. Maybe sites want to make note of what type of ID was shown, but not actually record anything about it?
If that is the case, then the org unit settings for showing, requiring and suggesting ident_type and ident_type2 need to be plumbed in. edit.au. ident_type. show', edit.au. ident_type. require' , edit.au. ident_type. suggest' , edit.au. ident2_ type.show' , edit.au. ident2_ type.require' , edit.au. ident2_ type.suggest' ,
'ui.patron.
'ui.patron.
'ui.patron.
'ui.patron.
'ui.patron.
'ui.patron.
Working branch that ties the ident_type and ident_type2 to the ident_value and ident_value2 visibility settings is at: user/stompro/ lp1631005_ ident_type_ visibility /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ stompro/ lp1631005_ ident_type_ visibility
https:/
Josh