Closed
Bug 400243
Opened 18 years ago
Closed 18 years ago
"votes:n" quicksearch should be "at least n votes", not "more than n votes"
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: jruderman, Assigned: LpSolit)
References
()
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
2.93 KB,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
A search with "votes:2" should find bugs with 2 or more votes. It currently finds bugs with 3 or more votes.
| Assignee | ||
Comment 1•18 years ago
|
||
This is a minor regression due to bug 70907. The JS had:
add_chart("votes","greaterthan",String(n-1));
but now Quicksearch.pm uses:
addChart('votes', 'greaterthan', $1, $negate);
Looks like a one-liner to fix.
Severity: normal → minor
Depends on: 70907
OS: Mac OS X → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 3.0
Version: unspecified → 2.22
| Assignee | ||
Comment 2•18 years ago
|
||
Assignee: query-and-buglist → LpSolit
Status: NEW → ASSIGNED
Attachment #285341 -
Flags: review?(wurblzap)
| Assignee | ||
Comment 3•18 years ago
|
||
Marc, why do we pass $negate to addChart() for votes as negateComparisonType() at lines 507/485 of Quicksearch.pm says that "greaterthan" is not valid with negation?
| Assignee | ||
Comment 4•18 years ago
|
||
votes:N, votes>=N and votes>N are mentioned nowhere in the documentation about QS. This patch adds them. I also removed obsolete examples from the doc as well.
Attachment #285341 -
Attachment is obsolete: true
Attachment #285341 -
Flags: review?(wurblzap)
| Assignee | ||
Updated•18 years ago
|
Attachment #285343 -
Flags: review?(wurblzap)
| Assignee | ||
Updated•18 years ago
|
Attachment #285343 -
Flags: review?(wicked)
Updated•18 years ago
|
Attachment #285343 -
Flags: review?(wurblzap) → review+
| Assignee | ||
Updated•18 years ago
|
Attachment #285343 -
Flags: review?(wicked)
| Assignee | ||
Updated•18 years ago
|
Flags: approval3.0+
Flags: approval+
| Assignee | ||
Comment 5•18 years ago
|
||
tip:
Checking in Bugzilla/Search/Quicksearch.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search/Quicksearch.pm,v <-- Quicksearch.pm
new revision: 1.19; previous revision: 1.18
done
Checking in template/en/default/pages/quicksearchhack.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/pages/quicksearchhack.html.tmpl,v <-- quicksearchhack.html.tmpl
new revision: 1.7; previous revision: 1.6
done
3.0.2:
Checking in Bugzilla/Search/Quicksearch.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search/Quicksearch.pm,v <-- Quicksearch.pm
new revision: 1.12.2.3; previous revision: 1.12.2.2
done
Checking in template/en/default/pages/quicksearchhack.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/pages/quicksearchhack.html.tmpl,v <-- quicksearchhack.html.tmpl
new revision: 1.3.2.1; previous revision: 1.3
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•