Bug 28737

Summary: Unwanted and Mandatory borrower fields should be enforced consistently
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2021-07-22 12:55:54 UTC
To recreate:
1 - Set title (or any other patron field) as both mandatory and unwanted across the sysprefs BorrowerMandatoryField, BorrowerUnwantedField, PatronSelfModificationBorrowerUnwantedField, and PatronSelfRegistrationBorrowerMandatoryField
2 - On the staff client, edit an existing patron and confirm that title is hidden and not mandatory. Make a new patron and confirm same.
3 - Log into the OPAC as an existing patron, go to your personal details, confirm title is mandatory and not hidden.
4 - self-register a new patron on the opac, confirm title is mandatory and not hidden

My biggest goal here is consistency -- whichever preference they give priority to, it should be the same on both staff and OPAC. I slightly prefer giving priority to the mandatory sysprefs.