Bug 26068

Summary: OPAC "Refine Your Search" did't work
Product: Koha Reporter: Charlie <ctw2100>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P1 - high    
Version: 20.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Charlie 2020-07-27 05:37:42 UTC
My Koha Version: 20.05.01.000

"Refine Your Search" doesn't include all results, only facets on the page that you're viewing.

This Bugs same as _BUG_ 1312 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1312

Error Log:
[Mon Jul 27 13:31:24.776946 2020] [cgi:error] [pid 65585] [client 127.0.0.1:9223] AH01215: [Mon Jul 27 13:31:24 2020] opac-search.pl: Use of uninitialized value in hash element at /usr/share/koha/lib/C4/Search.pm line 1956.: /usr/share/koha/opac/cgi-bin/opac/opac-search.pl, referer: http://127.0.0.1:8081/cgi-bin/koha/opac-search.pl?idx=kw&q=1&sort_by=relevance_dsc&count=20&limit=se:%E5%9B%BE%E7%81%B5%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E4%B8%9B%E4%B9%A6
[Mon Jul 27 13:31:24.806693 2020] [cgi:error] [pid 65585] [client 127.0.0.1:9223] AH01215: [Mon Jul 27 13:31:24 2020] opac-search.pl: Use of uninitialized value in hash element at /usr/share/koha/lib/C4/Search.pm line 1956.: /usr/share/koha/opac/cgi-bin/opac/opac-search.pl, referer: http://127.0.0.1:8081/cgi-bin/koha/opac-search.pl?idx=kw&q=1&sort_by=relevance_dsc&count=20&limit=se:%E5%9B%BE%E7%81%B5%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E4%B8%9B%E4%B9%A6
[Mon Jul 27 13:31:24.834891 2020] [cgi:error] [pid 65585] [client 127.0.0.1:9223] AH01215: [Mon Jul 27 13:31:24 2020] opac-search.pl: Use of uninitialized value in hash element at /usr/share/koha/lib/C4/Search.pm line 1956.: /usr/share/koha/opac/cgi-bin/opac/opac-search.pl, referer: http://127.0.0.1:8081/cgi-bin/koha/opac-search.pl?idx=kw&q=1&sort_by=relevance_dsc&count=20&limit=se:%E5%9B%BE%E7%81%B5%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E4%B8%9B%E4%B9%A6
Comment 1 Katrin Fischer 2020-07-27 05:51:12 UTC
Hi Charlie,

this is not a bug per se, but how things work with Zebra at the moment. You can use the maxRecordsForFacets system preference to control how many records will be looked at for facets. But be aware that this has quite an impact on performance.

See bug 16821 and bug 13665 for some more info.

The warnings in the logs are unrelated.

I am not sure how things are with Elasticsearch, but I expect them to be better.