https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43151 --- Comment #3 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 202690 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202690&action=edit Bug 43151: Require a single item to satisfy combined item-level search filters Combined item-level limits (item type, collection, location, home/holding library, availability) were checked independently against each bib's flattened, cross-item field arrays, so a bib could match a filter combination no single item actually satisfied (e.g. itype:BOOK + ccode:FICTION matching a bib whose only book is non-fiction and whose only fiction item is a CD). QueryBuilder now extracts these limits into constraint groups before they're folded into the query string, and Search resolves them as one combined query against the items index, requiring a single item to satisfy all of them together. Falls back to the existing (imperfect) query-string behaviour if the items index isn't ready. Note: this does not fix the item-level facet counts shown alongside these results, which are still built from the same flattened biblio-level arrays and can still list values that don't reflect the active combined filter. That's a separate, not yet addressed, follow-up. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Signed-off-by: Kristi Krueger <kkrueger@cuyahogalibrary.org> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.