User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:220.127.116.11) Gecko/20100722 Firefox/3.6.8
Now it is possible to enter every valid field in the serarch query. But that is the problem:
1. The serach mask says: "Only bugs with at least: ____ votes".
2. If you enter 50 you will get a query with "votes=50".
3. This ends with that result filter: "Votes: (is greater than) 49, Votes: 50"
"Search: For those who like to make their own buglist.cgi URLs (and for people working on customizations), buglist.cgi now accepts nearly every valid field in Bugzilla as a direct URL parameter, like &field=value"
This is really blocking 3.6.3, but I'll change that when we have the flag.
The SQL query has:
WHERE ((bugs.votes > '3') AND ( bugs.votes IN ('4') ))
Bugzilla 3.4 doesn't have this 2nd condition.
For the record, Bugzilla 4.0 and 4.1 are not affected. So this is a 3.6 only regression.
Is there any workaround for this in 3.6? Any query that I could use to show all bugs of a given product with more than 50 votes?
Created attachment 472589 [details] [diff] [review]
Here's a patch to fix it in 3.6.
Comment on attachment 472589 [details] [diff] [review]
Cool, thanks for the fix. :) r=LpSolit
Hey, you're welcome! :-) Thanks for the review!
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/
Committed revision 7169.
*** Bug 596890 has been marked as a duplicate of this bug. ***
*** Bug 598005 has been marked as a duplicate of this bug. ***