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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to