Bug 40718

Summary: Self-registration hides categorycode unless mandatory if any unwanted fields specified
Product: Koha Reporter: David Cook <dcook>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
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 David Cook 2025-08-28 04:09:33 UTC
This is a weird one but I noticed on "main" that if you specify anything in PatronSelfRegistrationBorrowerUnwantedField it will hide "categorycode" and "dateexpiry".

This can break the self-registration if you don't just rely on PatronSelfRegistrationDefaultCategory or add categorycode to PatronSelfRegistrationBorrowerMandatoryField

Very weird.