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

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

Return to bug 25900