[Bug 31686] New: Branch limited patron categories can break patron searching
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31686 Bug ID: 31686 Summary: Branch limited patron categories can break patron searching Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com 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... fnGetData http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... B http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... Ha http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... P http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... vb http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... lb http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... i http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... success http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... jQuery 7 sa http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... lb http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... P http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... T http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... <anonymous> http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... iterator http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... <anonymous> http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... g http://localhost:8081/intranet-tmpl/lib/datatables/datatables.min_22.0600060... 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 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31686 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31686 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 31421 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org