diff options
Diffstat (limited to 'template/en/default/search')
-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 %] |