diff options
author | lpsolit%gmail.com <> | 2009-01-03 02:08:27 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-01-03 02:08:27 +0100 |
commit | dd52ea1b9baad23990c47a3186933e63b0cc01bb (patch) | |
tree | 397a5d00dd30200c6e6f29fefc1454237c295de9 /template | |
parent | 3fcb8c1e072a420b64f229cf687026fcde5256a6 (diff) | |
download | bugzilla-dd52ea1b9baad23990c47a3186933e63b0cc01bb.tar.gz bugzilla-dd52ea1b9baad23990c47a3186933e63b0cc01bb.tar.xz |
Bug 377956: Tabular and graphical reports should support single-select custom fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/search/search-report-select.html.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/template/en/default/search/search-report-select.html.tmpl b/template/en/default/search/search-report-select.html.tmpl index e893bf6a7..de6478716 100644 --- a/template/en/default/search/search-report-select.html.tmpl +++ b/template/en/default/search/search-report-select.html.tmpl @@ -43,5 +43,12 @@ [% " selected" IF default.$name.0 == field %]> [% field_descs.$field || field FILTER html %]</option> [% END %] + + [%# Single-select fields are also valid column names. %] + [% FOREACH field = custom_fields %] + <option value="[% field.name FILTER html %]" + [% " selected" IF default.$name.0 == field.name %]> + [% field.description FILTER html %]</option> + [% END %] </select> [% END %] |