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 =~ /^([^:]+):([^:]+)$/) {
# generic field1,field2,field3:value1,value2 notation
<td><tt>attachmimetype</tt></td>
<td>Attachment mime-type <i>(“attachments.mimetype”)</i></td>
</tr>
-
+<tr>
+ <td> </td>
+ <td> </td>
+ <td><tt>votes</tt></td>
+ <td> </td>
+ <td>
+ Number of votes<br>
+ (votes:<i>N</i> and votes>=<i>N</i> mean "at least N votes",
+ votes><i>N</i> means "more than N votes")
+ </td>
+</tr>
</table>
<p>
<td><b>:</b><i>area</i></td>
<td><b>product,component:</b><i>area</i></td>
</tr>
-<!--
-<tr>
- <td><tt>:browser</tt></td>
- <td><i>[% terms.bugs %] in the Browser product</i></td>
-</tr>
- <td><tt>:mail</tt></td>
- <td><i>[% terms.bugs %] in the MailNews product</td>
-</tr>
-<tr>
- <td><tt>:xbl</tt></td>
- <td><i>[% terms.bugs %] in the XBL component</i></td>
-</tr>
- -->
<tr>
<td><i>sev</i></td>
<td><b>severity:</b><i>sev</i></td>
<td><b>@</b><i>assignee</i></td>
<td><b>assignedto:</b><i>assignee</i></td>
</tr>
-<!--
-<tr>
- <td><tt>@nobody</tt></td>
- <td><i>assigneeless [% terms.bugs %]</i></td>
-</tr>
-<tr>
- <td><tt>@mozilla.org</tt></td>
- <td><i>[% terms.bugs %] assigned to mozilla.org members</i></td>
-</tr>
- -->
<tr>
<td><b>!</b><i>keyword</i></td>
<td><b>keywords:</b><i>keyword</i></td>
</tr>
-<!--
-<tr>
- <td><tt>!crash</tt></td>
- <td><i>crasher [% terms.bugs %]</i></td>
-</tr>
-<tr>
- <td><tt>!helpwanted</tt></td>
- <td><i>[% terms.bugs %] waiting for your help</i></td>
-</tr>
- -->
</table>
<p>