diff options
author | lpsolit%gmail.com <> | 2007-12-03 05:12:09 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-12-03 05:12:09 +0000 |
commit | 8f420d0384bb790a7f264450040b581448f1bee8 (patch) | |
tree | f84a6bf99c2193f36e66ceb1c6070f5b2ff6e587 /Bugzilla/Search | |
parent | 42e681b422641a896ea92e0c604aa3acd06feff3 (diff) | |
download | bugs-8f420d0384bb790a7f264450040b581448f1bee8.tar bugs-8f420d0384bb790a7f264450040b581448f1bee8.tar.gz bugs-8f420d0384bb790a7f264450040b581448f1bee8.tar.bz2 bugs-8f420d0384bb790a7f264450040b581448f1bee8.tar.xz bugs-8f420d0384bb790a7f264450040b581448f1bee8.zip |
Bug 400243: "votes:n" quicksearch should be "at least n votes", not "more than n votes" - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
Diffstat (limited to 'Bugzilla/Search')
-rw-r--r-- | Bugzilla/Search/Quicksearch.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |