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."
Hi Rogan, found it: bug 17787 *** This bug has been marked as a duplicate of bug 17787 ***