[Bug 43320] New: Don't repeat a quoted search with more quotes when no results
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43320 Bug ID: 43320 Summary: Don't repeat a quoted search with more quotes when no results Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- On bug 31213 we added a fallback quoted search when no results were found. A side effect here is that a quoted phrase that has no results, will then repeat the search quoted, which has the effect of an unquoted search, and will return items that have the terms, but not the phrase. Before repeating the search, we should check if the search is already quoted, and not search again if so. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43320 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |31213 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31213 [Bug 31213] When performing a basic search with no results, repeat the search with term quoted -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43320 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43320 --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 203737 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203737&action=edit Bug 43320: Don't quoted already quoted searches and add feedback Bug 31213 added a quoted search when no results were found, this patch builds on that to: 1 - Notify the user when their search is repeated quoted 2 - Not repeat a search when already quoted To test: 0 - Set system preferences RedirectToSoleResult to 'Don't redirect' IntranetAddMastheadLibraryPulldown to Show IntranetCatalogSearchPulldown to Show 1 - Add the sample records to your catalog 2 - Search for the quoted phrase "happy family big" in the 'title' index 3 - Note you get a result 4 - Check the record - the phrase is not found, but the record contains all the terms 5 - Search for the unquoted phrase: 6:20 man 6 - Confirm search is quoted and result found 7 - Apply patch, restart all 8 - Repeat 5 9 - Confirm you are now told search was quoted and result found 10 - Repeat 2 11 - Confirm no result found, no notice of repeated search -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43320 --- Comment #2 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 203738 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203738&action=edit Bug 43320: OPAC adjustments Similar test plan, but on the OPAC -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43320 --- Comment #3 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 203739 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203739&action=edit Test records -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org