]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 899586: Consecutive whitespaces in field values are ignored in <select> elements
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 8 Aug 2013 19:56:03 +0000 (21:56 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 8 Aug 2013 19:56:03 +0000 (21:56 +0200)
r=sgreen a=glob

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

index dc1592e380b7281543ecf0439e25e69bdd154dd1..86f293aa1ebf4b0607d0fee0d5316eaff6ee3b28 100644 (file)
         [% 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 ~%]