mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 179193 - anyexact should use IN, not OR
r=gerv, a=justdave
This commit is contained in:
parent
ac5e0319e5
commit
5888409b30
@ -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)});
|
||||
|
Loading…
Reference in New Issue
Block a user