Bug 40035

Summary: Manual restrictions added in memberentry.pl without a note or date are not saved
Product: Koha Reporter: Philip Orr <philip.orr>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
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 Philip Orr 2025-05-30 12:49:05 UTC
If you are currently editing a patron and in memberentry.pl you add a manual restriction by clicking on "Add manual restriction", but do not fill out the Comment or Expiration Date fields, the restriction will not be saved.
To replicate:
1. Go to a patron account
2. Edit them
3. "Add manual restriction"
4. Leave it set to "Manual" type, no entry in note or date, save the patron
5. There won't be a restriction in their account.