summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-01 23:01:50 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-01 23:01:50 +0200
commit3e4ca16191bcf1d07dbdc6c370491446fbf0f028 (patch)
treecf55830324b81465d0afd4000c8ffba0db41aea5 /template/en/default/search
parent71f44e682fe7b0f68d3a6a609aa5321c081c3fcc (diff)
downloadbugzilla-3e4ca16191bcf1d07dbdc6c370491446fbf0f028.tar.gz
bugzilla-3e4ca16191bcf1d07dbdc6c370491446fbf0f028.tar.xz
Bug 545766: Figure out what columns can be reported on from the database,
instead of from a static list r=glob, a=mkanat
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/search-report-select.html.tmpl6
1 files changed, 1 insertions, 5 deletions
diff --git a/template/en/default/search/search-report-select.html.tmpl b/template/en/default/search/search-report-select.html.tmpl
index 2ad779248..5e5db06e2 100644
--- a/template/en/default/search/search-report-select.html.tmpl
+++ b/template/en/default/search/search-report-select.html.tmpl
@@ -26,16 +26,12 @@
[% PROCESS "global/field-descs.none.tmpl" %]
[% BLOCK select %]
- [% rep_fields = ["classification", "product", "component", "version", "rep_platform",
- "op_sys", "bug_status", "resolution", "bug_severity",
- "priority", "target_milestone", "assigned_to",
- "reporter", "qa_contact" ] %]
[% Hook.process('rep_fields', 'search/search-report-select.html.tmpl') %]
<select name="[% name FILTER html %]">
<option value="">&lt;none&gt;</option>
- [% FOREACH field = rep_fields %]
+ [% FOREACH field = report_columns.keys.sort %]
[% NEXT IF field == "classification" AND !Param('useclassification') %]
[% NEXT IF field == "target_milestone" AND !Param('usetargetmilestone') %]
[% NEXT IF field == "qa_contact" AND !Param('useqacontact') %]