https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37998

            Bug ID: 37998
           Summary: Tabs and backslashes in the data break item search
                    display
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Searching
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

If the item data (e.g. callnumber) contains a tab or backslash OR the title
part contains a backslash, the DataTable displaying the item search results
stops throwing an error modal "Something went wrong when loading the table.
200: OK." and a JS console log: "DataTables warning: table id=results - Invalid
JSON response. For more information about this error, please see
http://datatables.net/tn/1";.

The solution would be to apply $To filter in itemsearch_item.json.inc not only
for biblioitem.publishercode but to all elements (also in biblio-title.inc).

-- 
You are receiving this mail because:
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