зеркало из https://github.com/mozilla/pjs.git
Bug 405476: flag:review? not understood by QuickSearch - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
This commit is contained in:
Родитель
94be671d60
Коммит
23309cfa63
|
@ -276,7 +276,7 @@ sub quicksearch {
|
||||||
# votes:xx ("at least xx votes")
|
# votes:xx ("at least xx votes")
|
||||||
addChart('votes', 'greaterthan', $1 - 1, $negate);
|
addChart('votes', 'greaterthan', $1 - 1, $negate);
|
||||||
}
|
}
|
||||||
elsif ($or_operand =~ /^([^\?]+\?)([^\?]*)$/) {
|
elsif ($or_operand =~ /^(?:flag:)?([^\?]+\?)([^\?]*)$/) {
|
||||||
# Flag and requestee shortcut
|
# Flag and requestee shortcut
|
||||||
addChart('flagtypes.name', 'substring', $1, $negate);
|
addChart('flagtypes.name', 'substring', $1, $negate);
|
||||||
$chart++; $and = $or = 0; # Next chart for boolean AND
|
$chart++; $and = $or = 0; # Next chart for boolean AND
|
||||||
|
|
Загрузка…
Ссылка в новой задаче