summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-01-05 21:16:29 +0100
committerlpsolit%gmail.com <>2008-01-05 21:16:29 +0100
commit91d9ad905e8e74a7284e3484ca995c97b1c146ce (patch)
tree997c1e8017e3c0493ea5c6e87394d93665643500 /Bugzilla/Search
parent47cd5e4153d5d3f2980dc1ffa1033c3f052c0748 (diff)
downloadbugzilla-91d9ad905e8e74a7284e3484ca995c97b1c146ce.tar.gz
bugzilla-91d9ad905e8e74a7284e3484ca995c97b1c146ce.tar.xz
Bug 405476: flag:review? not understood by QuickSearch - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
Diffstat (limited to 'Bugzilla/Search')
-rw-r--r--Bugzilla/Search/Quicksearch.pm2
1 files changed, 1 insertions, 1 deletions
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