Bug 17531

Summary: Search categories for itemtypes broken
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, veron
Version: unspecified   
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: 10937    
Bug Blocks:    

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 ***