diff options
author | bbaetz%student.usyd.edu.au <> | 2002-07-10 22:16:02 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-07-10 22:16:02 +0200 |
commit | b612625658d6c141c901464b555d14ba4fd2ecae (patch) | |
tree | 0ae08c630814f2b346f5648d3e5ea617a2520c1d /template | |
parent | fbb2c9b08b2e397205e7250560a8a4edd2004ce9 (diff) | |
download | bugzilla-b612625658d6c141c901464b555d14ba4fd2ecae.tar.gz bugzilla-b612625658d6c141c901464b555d14ba4fd2ecae.tar.xz |
Bug 155031 - search by votes is shown even when votes are turned off.
r=jouni x2
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/search/form.html.tmpl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 5d3251a96..057ef12ef 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -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> |