From: lpsolit%gmail.com <> Date: Sat, 5 Jan 2008 20:16:29 +0000 (+0000) Subject: Bug 405476: flag:review? not understood by QuickSearch - Patch by Frédéric Buclin... X-Git-Tag: bugzilla-3.1.3~408 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91d9ad905e8e74a7284e3484ca995c97b1c146ce;p=thirdparty%2Fbugzilla.git Bug 405476: flag:review? not understood by QuickSearch - Patch by Frédéric Buclin r=wurblzap a=LpSolit --- diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm index 26cd7e2c03..df54952d55 100644 --- a/Bugzilla/Search/Quicksearch.pm +++ b/Bugzilla/Search/Quicksearch.pm @@ -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