Bug 36288

Summary: Password expiration date cannot be hidden with BorrowerUnwantedField
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35796
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 2024-03-08 21:17:18 UTC
The password expiration date field is hardcoded to only show in the patron edit screen for superlibrarians. It continues to appear for superlibrarians, even if selected in the BorrowerUnwantedField system preference. We should either make this field observe the BorrowerUnwantedField syspref or remove it from the list of fields in the syspref. 

Tangentially, that field is currently failing to load the patron's current password expiration date into the edit form, so the date is lost when the patron is saved. That's bug 35796.