summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-08-08 21:56:03 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-08-08 21:56:03 +0200
commitf1b5390ec67981857ee6bc1ef5c4a274cbe4af10 (patch)
tree159150c5fddf2370728c3c4ba341b9388a9c1da1 /template/en/default
parentb816db497f5535f5e9d943779061751659cba51b (diff)
downloadbugzilla-f1b5390ec67981857ee6bc1ef5c4a274cbe4af10.tar.gz
bugzilla-f1b5390ec67981857ee6bc1ef5c4a274cbe4af10.tar.xz
Bug 899586: Consecutive whitespaces in field values are ignored in <select> elements
r=sgreen a=glob
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/search/field.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/search/field.html.tmpl b/template/en/default/search/field.html.tmpl
index dc1592e38..86f293aa1 100644
--- a/template/en/default/search/field.html.tmpl
+++ b/template/en/default/search/field.html.tmpl
@@ -105,7 +105,7 @@
[% FOREACH current_value = legal_values %]
[% SET v = current_value.name OR '---' -%]
[% SET display = display_value(field.name, current_value.name) %]
- <option [% IF v != display %]value="[% v FILTER html %]"[% END ~%]
+ <option value="[% v FILTER html %]"
id="v[% current_value.id FILTER html %]_[% field.name FILTER html %]"
[% ' selected="selected"' IF value.contains( v ) %]>
[%~ display FILTER html ~%]