https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36261 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- (In reply to Andreas Jonsson from comment #1)
Ideally we should resolve this at indexing time so we get the information directly from the search index.
You can't do it at indexing time, since OpacHiddenItems can be changed at any time. (The OpacHiddenItems feature in general is a bad idea imho.)
Also the systempreference OpacHiddenItemsHidesRecord could be implemented properly, as it now breaks the result count, and theoretically you could get a blank search result page with a positive result count, and visible results at page two.
I don't think this is possible since the calculation is too complex. Personally, I'd rather deprecate OpacHiddenItemsHidesRecord and just require OpacSuppression to be used for any record that must be completely hidden. -- You are receiving this mail because: You are watching all bug changes.