Bug 24142

Summary: Count of search results does not match displayed records with OpacHiddenItems
Product: Koha Reporter: Rogan Hamby <rogan.hamby>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Rogan Hamby 2019-12-02 14:08:04 UTC
My apologies if this is a duplicate but after searching I could not find it already in bugzilla.

When doing a standard search the search results count does not match the number of records shown if a record is hidden due to preferences.  

For example, I have 5 records that return with a keyword search of 'Hobbit'.  One has no items.  If I had an item to the item-less record with a CCODE set to be hidden with OpacHiddenItems the record is now correctly hidden but the search count continues to say "Your search returned 5 results."
Comment 1 Katrin Fischer 2019-12-07 10:23:32 UTC
Hi Rogan, found it: bug 17787

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