https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37334
--- Comment #270 from Emmi Takkinen <[email protected]> --- (In reply to Andrii Nugged from comment #269) > In: > koha-tmpl/intranet-tmpl/prog/js/datatables.js > now we have this: > } else if (v) { > additional_filters[k] = v > .replace(/^\^/, "") > .replace(/\$$/, ""); > } > > But when we search by a single letter, in v we have object: {like: 'A%'}, > that's not a string and doesn't have .replace, so the browser crashes. This is causing problems also with modify holds tool which I'm working on (bug 36135). When I try to search holds with it, following error is displayed in browsers console: >Uncaught TypeError: v.replace is not a function -- 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/
