Bug 179193 - anyexact should use IN, not OR

r=gerv, a=justdave
parent 58de3fae
......@@ -626,9 +626,11 @@ sub init {
if ($w eq "---" && $f !~ /milestone/) {
$w = "";
}
push(@list, "$ff = " . &::SqlQuote($w));
push(@list, &::SqlQuote($w));
}
if (@list) {
$term = "$ff IN (" . join (',', @list) . ")";
}
$term = join(" OR ", @list);
},
",anywordssubstr" => sub {
$term = join(" OR ", @{GetByWordListSubstr($ff, $v)});
......
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