summaryrefslogtreecommitdiffstats
path: root/template/en/default
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
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')
-rw-r--r--template/en/default/global/field-descs.none.tmpl3
-rw-r--r--template/en/default/search/search-report-select.html.tmpl6
2 files changed, 4 insertions, 5 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index 6b406431e..ee75efaa3 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -100,6 +100,7 @@
"actual_time" => "Actual Hours",
"alias" => "Alias",
"assigned_to" => "Assignee",
+ "assigned_to_realname" => "Assignee Real Name",
"attach_data.thedata" => "Attachment data",
"attachments.description" => "Attachment description",
"attachments.filename" => "Attachment filename",
@@ -143,10 +144,12 @@
"product_id" => "Product ID",
"product" => "Product",
"qa_contact" => "QA Contact",
+ "qa_contact_realname" => "QA Contact Real Name",
"remaining_time" => "Hours Left",
"rep_platform" => "Hardware",
"reporter" => "Reporter",
"reporter_accessible" => "Reporter accessible",
+ "reporter_realname" => "Reporter Real Name",
"requestees.login_name" => "Flag Requestee",
"resolution" => "Resolution",
"see_also" => "See Also",
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') %]