[Koha-bugs] [Bug 31213] When performing a basic search with no results, repeat the search with term quoted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 21 20:19:56 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31213
--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 137993
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137993&action=edit
Bug 31213: Auto search simple term quoted
This patch does a second search if the first had no results and was a simple
single term search
We simply quote the term, rebuild the query, and rerun the search
This targets both Zebra and ES, but is more relevant for ES
To test:
0 - Have Koha running using ES
1 - Add titles your system "Ivy + Bean" "The 6:20 Man"
2 - Search for these titles without quotes - NO results under ES
3 - Search with quotes - you find them
4 - Apply patch, restart all
5 - Search again without quotes
6 - Success!
7 - Confirm search still works under Zebra
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list