[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:17:16 CET 2022


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

--- Comment #13 from David Cook <dcook at prosentient.com.au> ---
I'm curious about how the Elasticsearch handles it, since the "and_or" in
C4::Matcher::get_matches makes no sense. 

Aha, it does something practical but annoying:

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

By comparison, C4::AuthoritiesMarc::SearchAuthorities doesn't actually use the
real operators passed into the function...

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


More information about the Koha-bugs mailing list