summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-05-24 16:34:55 +0200
committerlpsolit%gmail.com <>2008-05-24 16:34:55 +0200
commit993a1c53229e174d4c2bd1d67acef6363c12db50 (patch)
treec4d08adf0eb46debb643379637efa3c2658fb40a /template/en/default/search
parent074f7b588974ced7368f2783adc1d7437d54ba77 (diff)
downloadbugzilla-993a1c53229e174d4c2bd1d67acef6363c12db50.tar.gz
bugzilla-993a1c53229e174d4c2bd1d67acef6363c12db50.tar.xz
Bug 435504: Boolean charts use field descriptions from the DB, making them english only - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/boolean-charts.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl
index 25a54a0a9..97a10d4ab 100644
--- a/template/en/default/search/boolean-charts.html.tmpl
+++ b/template/en/default/search/boolean-charts.html.tmpl
@@ -74,8 +74,9 @@
<td>
<select name="[% "field${chartnum}-${rownum}-${colnum}" %]">
[% FOREACH field = fields %]
- <option value="[% field.name %]"
- [%- " selected" IF field.name == col.field %]>[% field.description %]</option>
+ <option value="[% field.name %]" [% "selected" IF field.name == col.field %]>
+ [% field_descs.${field.name} || field.description FILTER html %]
+ </option>
[% END %]
</select>