https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43151 --- Comment #9 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 205604 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205604&action=edit Bug 43151: (QA follow-up) Don't drop a branch constraint when two are present at once _extract_item_level_constraints stored the "neither homebranch nor holdingbranch" any_of branch shape in a single scalar, so a second branch-dropdown-shaped limit in the same search silently overwrote the first instead of being combined - quietly breaking the very "single item must satisfy every constraint" guarantee this feature exists for. Collect them into an array instead, so every any_of group extracted survives into the returned constraint list. Test plan: 1) prove t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t -- You are receiving this mail because: You are watching all bug changes.