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

(-)a/C4/Search.pm (-1 / +1 lines)
Lines 883-888 sub _build_weighted_query { Link Here
883
    my $weight_fields = C4::Context->preference("QueryWeightFields") || 0;
883
    my $weight_fields = C4::Context->preference("QueryWeightFields") || 0;
884
    my $fuzzy_enabled = C4::Context->preference("QueryFuzzy")        || 0;
884
    my $fuzzy_enabled = C4::Context->preference("QueryFuzzy")        || 0;
885
    $operand =~ s/"/ /g;    # Bug 7518: searches with quotation marks don't work
885
    $operand =~ s/"/ /g;    # Bug 7518: searches with quotation marks don't work
886
    $operand =~ s/^\s+|\s+$//g; # Trim
886
887
887
    my $weighted_query .= "(rk=(";    # Specifies that we're applying rank
888
    my $weighted_query .= "(rk=(";    # Specifies that we're applying rank
888
889
889
- 

Return to bug 25900