Bug 33543 - Search within result list broken?
Summary: Search within result list broken?
Status: RESOLVED DUPLICATE of bug 33093
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 32026
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-17 09:26 UTC by Katrin Fischer
Modified: 2023-04-17 19:02 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***