Bug 17531 - Search categories for itemtypes broken
Summary: Search categories for itemtypes broken
Status: RESOLVED DUPLICATE of bug 20722
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 10937
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-01 14:09 UTC by Katrin Fischer
Modified: 2020-04-19 00:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2016-11-01 14:09:26 UTC
The feature introduced with bug 10937 appears to be broken on current master. You can add a search category and the display on the advanced search page is correct, but the search won't return any results.
Comment 1 Jonathan Druart 2016-11-15 07:36:42 UTC
I don't think it's more broken than when it has been pushed.
If you select a term, you will get results. I only get no result when I select the item type group as unique filter.

It's caused by:
 110 elsif ((@params>=1) || ($cgi->param("q")) || ($cgi->param('multibranchlimit')) || ($cgi->param('limit-yr')) ) {
 111     $template_name = 'opac-results.tt';
 112 }

Which won't set the result page if searchcat (only) is passed.
Comment 2 Katrin Fischer 2020-04-19 00:59:12 UTC

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