https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37334 --- Comment #271 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- (In reply to Emmi Takkinen from comment #270)
(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
Patron search and records holding table are broken due this. -- You are receiving this mail because: You are watching all bug changes.