| Summary: | Branch limited patron categories can break patron searching | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
| Component: | Patrons | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
| Severity: | critical | ||
| Priority: | P5 - low | CC: | gmcharlt, kyle, lucas |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
When a patron is returned in a category that is restricted to a branch different than the current logged in branch the datatable results will not load To recreate: 1 - Edit Patron category Patron/PT to limit to a single branch that is not the branch you are logged in at 2 - Perform a patron search that will return a patron in this category 3 - Error in JS console: Uncaught TypeError: categories_map[data] is undefined render Ember S http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:56 fnGetData http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:50 B http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:55 Ha http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:63 P http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:67 vb http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:78 lb http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:75 i http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:73 success http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:74 jQuery 7 sa http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:75 lb http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:75 P http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:67 T http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:69 <anonymous> http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:144 iterator http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:138 <anonymous> http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:144 g http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060.js:141 Ember 2 jQuery 9 <anonymous> Ember jQuery 13 members-home.pl:2281:37 This is because the categories object passed to template is branch limited