summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/form.html.tmpl12
1 files changed, 2 insertions, 10 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index c52f5dcc5..07ab43c70 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -617,19 +617,11 @@ function doOnSelectProduct(selectmode) {
[%# This only applies for Resolution really %]
<option value="[% value.name OR '---' FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, value.name) != -1 %]>
- [% IF sel.name == "bug_status" %]
- [% display_value("bug_status", value.name) FILTER html %]
- [% ELSIF sel.name == "resolution" %]
- [%# Again, resolution has that odd empty value. Replace it with '---' %]
- [% display_value("resolution", value.name) OR '---' FILTER html %]
- [% ELSE %]
- [% value.name FILTER html %]
- [% END %]
- </option>
+ [% display_value(sel.name, value.name) FILTER html %]
[% ELSE %]
<option value="[% value OR '---' FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, value) != -1 %]>
- [% value FILTER html %]
+ [% display_value(sel.name, value) FILTER html %]
</option>
[% END %]
[% END %]