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

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

Return to bug 25900