зеркало из https://github.com/mozilla/pjs.git
Bug 179193 - anyexact should use IN, not OR
r=gerv, a=justdave
This commit is contained in:
Родитель
bbdfe41e76
Коммит
f1ca8c3acb
|
@ -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)});
|
||||
|
|
Загрузка…
Ссылка в новой задаче