summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-12-03 06:12:09 +0100
committerlpsolit%gmail.com <>2007-12-03 06:12:09 +0100
commit8f420d0384bb790a7f264450040b581448f1bee8 (patch)
treef84a6bf99c2193f36e66ceb1c6070f5b2ff6e587 /Bugzilla
parent42e681b422641a896ea92e0c604aa3acd06feff3 (diff)
downloadbugzilla-8f420d0384bb790a7f264450040b581448f1bee8.tar.gz
bugzilla-8f420d0384bb790a7f264450040b581448f1bee8.tar.xz
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')
-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 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