]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 155031 - search by votes is shown even when votes are turned off.
authorbbaetz%student.usyd.edu.au <>
Wed, 10 Jul 2002 20:16:02 +0000 (20:16 +0000)
committerbbaetz%student.usyd.edu.au <>
Wed, 10 Jul 2002 20:16:02 +0000 (20:16 +0000)
r=jouni x2

template/en/default/search/form.html.tmpl

index 5d3251a960a20b82892cde13fe258915072b8d19..057ef12ef19420677cd00aaae442e9eab2b20721 100644 (file)
@@ -595,14 +595,16 @@ function selectProduct(f) {
     <td></td>
     <td>(comma-separated list)</td>
   </tr>
-  <tr>
-    <td align="right">
-      Only bugs with at least:
-    </td>
-    <td>
-      <input name="votes" size="3" value="[% default.votes.0 FILTER html %]"> votes
-    </td>
-  </tr>
+  [% IF Param('usevotes') %]
+    <tr>
+      <td align="right">
+        Only bugs with at least:
+      </td>
+      <td>
+        <input name="votes" size="3" value="[% default.votes.0 FILTER html %]"> votes
+      </td>
+    </tr>
+  [% END %]
 </table>