Bug 37379 - Patron searches can fail when patron category library limitations are used
Summary: Patron searches can fail when patron category library limitations are used
Status: RESOLVED DUPLICATE of bug 34147
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: 2024-07-16 18:17 UTC by Lucas Gass (lukeg)
Modified: 2024-07-16 22:04 UTC (History)
2 users (show)

See Also:
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 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 ***