Koha-clms/catalogue
Nick Clemens 403288c5cd
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

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-09 15:49:52 +00:00
..
ISBDdetail.pl Bug 37762: Hook to holds preparation: DRY holdfor and searchToOrder 2026-05-08 12:25:42 -06:00
MARCdetail.pl Bug 37762: Hook to holds preparation: DRY holdfor and searchToOrder 2026-05-08 12:25:42 -06:00
detail.pl Bug 35142: (follow-up) Fix detail page crash with invalid metadata 2026-09-03 10:56:48 +00:00
export.pl Bug 39485: Fix wide character in print-warn in opac-export 2025-04-23 09:35:13 +02:00
image.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
imageviewer.pl Bug 37762: Hook to holds preparation: DRY holdfor and searchToOrder 2026-05-08 12:25:42 -06:00
issuehistory.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
item-export.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
itemsearch.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
labeledMARCdetail.pl Bug 37762: Hook to holds preparation: DRY holdfor and searchToOrder 2026-05-08 12:25:42 -06:00
moredetail.pl Bug 32773: Add fast cataloging support for multiple frameworks 2026-05-08 16:05:36 -06:00
search-history.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
search.pl Bug 43320: Don't quoted already quoted searches and add feedback 2026-09-09 15:49:52 +00:00
showelastic.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
showmarc.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
stockrotation.pl Bug 42282: (QA follow-up) restore searchid in stockrotation 2026-06-29 16:20:07 +00:00
updateitem.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00