View | Details | Raw Unified | Return to bug 23322
Collapse All | Expand All

(-)a/C4/Matcher.pm (-2 / +1 lines)
Lines 658-664 sub get_matches { Link Here
658
            }
658
            }
659
            else {
659
            else {
660
                my $phr = ( C4::Context->preference('AggressiveMatchOnISBN') || C4::Context->preference('AggressiveMatchOnISSN') )  ? ',phr' : q{};
660
                my $phr = ( C4::Context->preference('AggressiveMatchOnISBN') || C4::Context->preference('AggressiveMatchOnISSN') )  ? ',phr' : q{};
661
                $query = join( " or ",
661
                $query = join( " OR ",
662
                    map { "$matchpoint->{'index'}$phr=\"$_\"" } @source_keys );
662
                    map { "$matchpoint->{'index'}$phr=\"$_\"" } @source_keys );
663
                    #NOTE: double-quote the values so you don't get a "Embedded truncation not supported" error when a term has a ? in it.
663
                    #NOTE: double-quote the values so you don't get a "Embedded truncation not supported" error when a term has a ? in it.
664
            }
664
            }
665
- 

Return to bug 23322