summaryrefslogtreecommitdiffstats
path: root/template
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
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')
-rw-r--r--template/en/default/filterexceptions.pl3
-rw-r--r--template/en/default/search/boolean-charts.html.tmpl5
2 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index 3ff80568f..a02c644ef 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -62,8 +62,7 @@
'"value${chartnum}-${rownum}-${colnum}"',
'"type${chartnum}-${rownum}-${colnum}"',
'field.name',
- 'field.description',
- 'type.name',
+ 'type.name',
'type.description',
'"${chartnum}-${rownum}-${newor}"',
'"${chartnum}-${newand}-0"',
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>