diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 560d67ed93..8b82911a23 100644 --- a/C4/Matcher.pm +++ b/C4/Matcher.pm @@ -658,7 +658,7 @@ sub get_matches { } else { my $phr = ( C4::Context->preference('AggressiveMatchOnISBN') || C4::Context->preference('AggressiveMatchOnISSN') ) ? ',phr' : q{}; - $query = join( " or ", + $query = join( " OR ", map { "$matchpoint->{'index'}$phr=\"$_\"" } @source_keys ); #NOTE: double-quote the values so you don't get a "Embedded truncation not supported" error when a term has a ? in it. }