Bug 29370 - Cannot add patron attributes to quick add without making them mandatory
Summary: Cannot add patron attributes to quick add without making them mandatory
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-29 10:53 UTC by Bohdan
Modified: 2021-12-05 23:13 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bohdan 2021-10-29 10:53:17 UTC
In version 20.11, the new modal window was introduced for selecting database columns for patron forms and other settings, but it removed the possibility to choose patron attributes as mandatory or quick add.
How a library can add this attribute to the aforementioned preferences?
Comment 1 Katrin Fischer 2021-10-29 19:42:25 UTC
Hi Bohdan, you can set patron attributes to mandatory from Administration > Patron attributes. There is a new checkbox for this.
Comment 2 Bohdan 2021-10-29 21:22:19 UTC
Thanks. So it is only possible to set it as mandatory? Previously the attribute could be added to PatronQuickAdd without being a mandatory field.
Comment 3 Sara Brown 2021-12-01 22:22:51 UTC
Making attributes mandatory through the attribute vs. BorrowerMandatoryField can cause problems for libraries that allow self-registration since the attribute settings don't distinguish between creating an account and the ability to modify in the same way that PatronSelfRegistrationBorrowerMandatoryField and PatronSelfModificationBorrowerUnwantedField do. 

If the attribute is mandatory but libraries do not want patrons to be able to edit (Editable in OPAC not checked), Koha will return an error when someone tries to self-register. However, if Editable in OPAC is checked to avoid that error, patrons can continue to edit the information after registration.

This could be avoided if attributes could be made mandatory for multiple patron categories instead of either all or one - that way, a library could choose every category except Self-registered.
Comment 4 Katrin Fischer 2021-12-05 23:13:15 UTC
Hi Sara and Bohdan, you are both correct I think in there is something still missing here.

I suggest we could change this bug for adding the option to add patron attributes to the quick add form (which is not possible now without making it mandatory). And as this worked before, I am updating this to 'normal'.

Then Sara, maybe you could file a separate bug about the self registration issue? I think that is a very valid point as well.