https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35052 --- Comment #16 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 205608 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205608&action=edit Bug 35052: Add _get_item_counts_by_biblio Sibling to _get_matching_biblionumbers(), built on the same shared _composite_item_aggregation() helper, but returning a { biblionumber => count } hashref instead of a flat biblionumber list. This is what the OpacHiddenItems filter (added in a later commit) uses to tell "some items hidden" apart from "all items hidden" for a biblio. Test plan: 1) ktd --name "${KTD_INSTANCE:-kohadev}" --shell --run 'prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t' 2) All tests pass, including the new '_get_item_counts_by_biblio() tests' subtest -- You are receiving this mail because: You are watching all bug changes.