Commit 6047034f authored by terry%mozilla.org's avatar terry%mozilla.org

Stupid typo caused "any words" and "all words" searches on the long

description to crash.
parent ea24a262
...@@ -536,9 +536,9 @@ foreach my $f ("short_desc", "long_desc", "bug_file_loc", ...@@ -536,9 +536,9 @@ foreach my $f ("short_desc", "long_desc", "bug_file_loc",
} elsif ($type eq "casesubstring") { } elsif ($type eq "casesubstring") {
$query .= "and instr($n, $q)\n"; $query .= "and instr($n, $q)\n";
} elsif ($type eq "allwords") { } elsif ($type eq "allwords") {
$query .= GetByWordList($f, $s, "and"); $query .= GetByWordList($n, $s, "and");
} elsif ($type eq "anywords") { } elsif ($type eq "anywords") {
$query .= GetByWordList($f, $s, "or"); $query .= GetByWordList($n, $s, "or");
} else { } else {
$query .= "and instr(lower($n), lower($q))\n"; $query .= "and instr(lower($n), lower($q))\n";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment