[Koha-bugs] [Bug 20596] Error Zoom 20003 when import authority marc file (koha/tools/manage-marc-import.pl)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 14 05:30:38 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20596

--- Comment #14 from David Cook <dcook at prosentient.com.au> ---
Yeah... C4::AuthoritiesMarc::SearchAuthorities is fundamentally broken. 

(In reply to David Cook from comment #13)
> Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
>  287         # Merge the indexes in with the search terms and the operands
> so that
>  288         # each search thing is a handy unit.
>  289         unshift @$operators, undef;    # The first one can't have an op

Actually, that is unrelated. You can ignore that comment...

--

If I understand the Elasticsearch code correctly, it's just hard-coding OR for
build_authorities_query_compat().

Amusingly, many parts of Koha pass "and" into build_authorities_query_compat().

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list