Commit 91d9ad90 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 405476: flag:review? not understood by QuickSearch - Patch by Fré©ric…

Bug 405476: flag:review? not understood by QuickSearch - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
parent 47cd5e41
......@@ -276,7 +276,7 @@ sub quicksearch {
# votes:xx ("at least xx votes")
addChart('votes', 'greaterthan', $1 - 1, $negate);
}
elsif ($or_operand =~ /^([^\?]+\?)([^\?]*)$/) {
elsif ($or_operand =~ /^(?:flag:)?([^\?]+\?)([^\?]*)$/) {
# Flag and requestee shortcut
addChart('flagtypes.name', 'substring', $1, $negate);
$chart++; $and = $or = 0; # Next chart for boolean AND
......
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