https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35303 Bug ID: 35303 Summary: Staff interface header - patron search autocomplete no longer works (Uncaught TypeError: search_fields.forEach is not a function) Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: david@davidnind.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com The patron search autocomplete is no longer working in master (it was working yesterday, it wasn't after I did a git pull for Koha). To replicate: 1. In the staff interface, start a search for a patron in the header (with check out selected), for example: mary 2. Notice that the autocomplete results are not displayed, and that there is a spinner going round just before the search button. 3. Under web developer tools note that there is a JavaScript error in the console: Uncaught TypeError: search_fields.forEach is not a function buildPatronSearchQuery http://127.0.0.1:8081/intranet-tmpl/prog/js/staff-global_23.0600073.js:615 buildPatronSearchQuery http://127.0.0.1:8081/intranet-tmpl/prog/js/staff-global_23.0600073.js:613 source http://127.0.0.1:8081/intranet-tmpl/prog/js/staff-global_23.0600073.js:453 jQuery 6 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.