https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35052 --- Comment #15 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 205607 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205607&action=edit Bug 35052: Extract shared items-index composite aggregation helper - Extract _composite_item_aggregation() with parameterized cache key prefix - Refactor _get_matching_biblionumbers() as thin wrapper - Preserve exact existing contract for Task 2+ callers - Add test coverage for new helper method 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 '_composite_item_aggregation() tests' subtest 3) Confirm no regression: existing subtests (_apply_item_level_filters, _get_matching_biblionumbers, _items_index_ready) still pass unchanged -- You are receiving this mail because: You are watching all bug changes.