Bug 32100

Summary: "edit search" feature quote-wraps search terms if original search had no results
Product: Koha Reporter: Andrew Fuerste-Henry <andrewfh>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 22605, 31213    
Bug Blocks:    

Description Andrew Fuerste-Henry 2022-11-03 16:55:40 UTC
To recreate:
- perform a search that returns no results
- on the No Results Found page, click Edit Search
- when the search page reloads, note that your search term is now wrapped in double quotes
- enter your now-quoted search, then click Edit Search on the No Results page again
- your search term is now double-double quoted
Comment 1 Katrin Fischer 2022-11-17 09:16:10 UTC
I believe the new behaviour introduced by bug 31213 is possibly involved here.