https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36261 --- Comment #12 from David Cook <dcook@prosentient.com.au> --- (In reply to Andreas Jonsson from comment #10)
When it comes to filtering items, I'm thinking that, in the search index, there should be a record level field for "no opac visible items" and for each item there should be a flag "hidden in opac".
So, you can filter the search on the record level so you only get records that have at least one opac visible item. And then the information about which items that should be excluded in the result view is available directly from the search index. No additional processing would be needed at search time.
Actually, that might still not be true. If a bib record isn't hidden, then bug 14007 would probably still be a problem. (Although only while we're using Zebra. In the future with Elasticsearch, we might be able to tweak the document so that item data isn't returned under some conditions...) -- You are receiving this mail because: You are watching all bug changes.