Bug 30151 - branchcode should always be in PatronSelfRegistrationBorrowerMandatoryField
Summary: branchcode should always be in PatronSelfRegistrationBorrowerMandatoryField
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 29795
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-22 00:15 UTC by Fridolin Somers
Modified: 2023-07-10 20:56 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2022-02-22 00:15:17 UTC
branchcode should always be in PatronSelfRegistrationBorrowerMandatoryField
See Bug 29795 comments
Comment 1 Katrin Fischer 2023-06-17 15:44:21 UTC
Hi Frido, can you explain a bit more?
Comment 2 Emily Lamancusa 2023-07-10 20:56:09 UTC
It looks like this came about because of the odd behavior that can occur if branchcode is not mandatory for OPAC self-registration, right? Koha won't force a customer to choose a branchcode if it's not mandatory, but it can't be left blank either because it's required by the database, so it will simply default to the branchcode that comes first alphabetically.

I wonder if a better solution would be to add a means of specifying a default branchcode for self-registration. That would allow branchcode to be added to PatronSelfRegistrationBorrowerUnwantedField if desired, too.