]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 405476: flag:review? not understood by QuickSearch - Patch by Frédéric Buclin...
authorlpsolit%gmail.com <>
Sat, 5 Jan 2008 20:16:29 +0000 (20:16 +0000)
committerlpsolit%gmail.com <>
Sat, 5 Jan 2008 20:16:29 +0000 (20:16 +0000)
Bugzilla/Search/Quicksearch.pm

index 26cd7e2c03dacb9789ac95d59e7159eb8e96261f..df54952d55e7df3e3d7c6e150c9faf0a19450f2a 100644 (file)
@@ -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