https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28292
--- Comment #1 from Peter Vashchuk <stalkern...@gmail.com> --- Created attachment 121273 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121273&action=edit Bug 28292: strip the colon when it ends the query This patch adds additional regexp that strips the colon when it ends the query to avoid the internal server error. Also this patch adds new tests that check if colon gets removed from the very beginning and the very end of the query. To reproduce: 1) Enable ES and try to search "test:", which should give the internal server error. 2) Apply the patch, perform the same search again. Make sure that it doesn't gives that same error. 3) Additionally run t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t test and ensure that all tests are successful. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/