Bug 37379

Summary: Patron searches can fail when patron category library limitations are used
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
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:
Circulation function:

Description Lucas Gass (lukeg) 2024-07-16 18:17:40 UTC
TO recreate:

1. Administration > Patron categories
2. Set a library limit for some patron categories. ( IN k-t-d I added a limit to the PT category which included only MPL )
3. Log in as a branch other than the one you added as a library limit in step 2.
4. Do a patron search and see the error: 

Uncaught TypeError: categories_map[data.toLowerCase()] is undefined
Comment 1 Lucas Gass (lukeg) 2024-07-16 22:04:30 UTC

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