https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40340
--- Comment #5 from Nick Clemens (kidclamp) <[email protected]> --- Created attachment 196549 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196549&action=edit Bug 40340: Strip trailing backslashes from searches for ES This patch adds trailing backslashes to clean_search_terms To test: 1 - Have Koha using ES 2 - Search for: title:Knights of the black earth \ 3 - Search error 4 - Search for: title:"Knights of the black earth \" 5 - Search error 6 - Apply patch, restart_all 7 - Repeat searches 8 - No errors! 9 - Download 'Test MARC file' on this bug 10 - Stage and import with no matchign or checking for items 11 - Go to Administration -> Record matching rules 12 - Create a new rule 'Title' / threshold: 1000 / search index: title / score: 1000 / tag: 245 / subfield: a 13 - Stage the file again, use the matchign rule above 14 - Confirm file stages and matches 15 - Import and confirm no issues -- 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/
