Summary: | PatronSelfRegistrationAgeRestriction doesn't save blank | ||
---|---|---|---|
Product: | Koha | Reporter: | Sara Brown <sbrown> |
Component: | System Administration | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, gmcharlt |
Version: | 25.05 | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39579 | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Sara Brown
2025-07-25 18:51:20 UTC
Bug 40405 seeks to move away from NULL system preferences, so I suppose we really want to blank this instead? I can confirm that setting the preference to 0 makes it act as if unset, rather than requiring all self-reg patrons to be less than 1 year old. This is convenient and makes sort sort of sense, but it's clear enough that I'm happy to rely upon it as a solution here. In my test (in main) clearing the field works fine if I use the keyboard. If I select a value and use the context menu to cut the text it won't save correctly. The JS on the page doesn't recognize that action as a change. Sara were using the keyboard to remove the entry from the PatronSelfRegistrationAgeRestriction field? Hi Owen - I used backspace on my keyboard to clear the field. It appears to clear, but then I get the 'Nothing to save' message when I save. (Apologies if I'm misunderstanding the question!) |