Bug 33543

Summary: Search within result list broken?
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE 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:
Circulation function:
Bug Depends on: 32026    
Bug Blocks:    

Description Katrin Fischer 2023-04-17 09:26:18 UTC
The new'ish feature for searching within a result list doesn't work in my tests.

I tested on 2 different 22.11 installations, one with Zebra and one with Elasticsearch. The Elasticsearch installation wouldn't give any results.

To test:
* In the staff interface
* Search for: Quantenmechanik (or any other existing word in your catalog)
* Search within search: a keyword that exists in the result list titles, I used: Entwicklung
* The generated URL is: /cgi-bin/koha/catalogue/search.pl?idx=kw&q=quantenmechanik&&&limit=kw:Entwicklung
* No rsults were found

Not completely sure yet if the search engine is to blame or some other setting.
Comment 1 Katrin Fischer 2023-04-17 11:53:15 UTC
With Nick's help we've been able to limit the problem:

* IntranetCatalogSearchPulldown needs to be active, it defaults to keyword
* Keyword needs to be selected when searching within results

The search then generates the limit as: ...limit=kw:term

This doesn't work

But this will: ...limit=term
Comment 2 Katrin Fischer 2023-04-17 12:15:01 UTC
Keyword,phrase also doesn't work.
Comment 3 Nick Clemens (kidclamp) 2023-04-17 19:02:36 UTC

*** This bug has been marked as a duplicate of bug 33093 ***