From 8f420d0384bb790a7f264450040b581448f1bee8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 3 Dec 2007 05:12:09 +0000 Subject: =?UTF-8?q?Bug=20400243:=20"votes:n"=20quicksearch=20should=20be?= =?UTF-8?q?=20"at=20least=20n=20votes",=20not=20"more=20than=20n=20votes"?= =?UTF-8?q?=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Djustdave=20a=3DLpSolit?= 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 b9bd4a6ae..26cd7e2c0 100644 --- a/Bugzilla/Search/Quicksearch.pm +++ b/Bugzilla/Search/Quicksearch.pm @@ -274,7 +274,7 @@ sub quicksearch { foreach my $or_operand (split(/\|/, $qsword)) { if ($or_operand =~ /^votes:([0-9]+)$/) { # votes:xx ("at least xx votes") - addChart('votes', 'greaterthan', $1, $negate); + addChart('votes', 'greaterthan', $1 - 1, $negate); } elsif ($or_operand =~ /^([^\?]+\?)([^\?]*)$/) { # Flag and requestee shortcut -- cgit v1.2.1