From 91d9ad905e8e74a7284e3484ca995c97b1c146ce Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 5 Jan 2008 20:16:29 +0000 Subject: Bug 405476: flag:review? not understood by QuickSearch - Patch by Frédéric Buclin r=wurblzap a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Search/Quicksearch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Search') diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm index 26cd7e2c0..df54952d5 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 -- cgit v1.2.3-24-g4f1b