Bug 32703

Summary: Patron category defaults to top pick if existing category no longer an option
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Christopher Brannon 2023-01-23 16:52:35 UTC
We have added new patron categories and specified that some categories are now only for certain libraries.

If a patron has one of the now restricted categories, when you edit the patron, they are automatically changed to the first unrestricted category in the list.  This changes the patron category unexpectedly when editing the patron.

If a patron is edited, and the category they are in is no longer valid, it should default to a blank selection and force you to choose a new category.
Comment 1 Katrin Fischer 2023-01-23 21:23:44 UTC
Hm, this should have been fixed by

BugĀ 31422 - Library limitations might cause data loss when editing patrons

It allows you to keep the current patron category, even if you can't pick it for a new patron.

*** This bug has been marked as a duplicate of bug 31422 ***