summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2012-03-10 17:06:33 +0100
committerMarc Schumann <wurblzap@gmail.com>2012-03-10 17:06:33 +0100
commitad7a332935b3489b2aa913825a85fd5b0b50dff7 (patch)
treec80cbcded12d6098b69535cbb9c2d40bc589e5f0
parent248bb8b7272fdad0fc34dc193512d9085ec3f5b6 (diff)
downloadbugzilla-ad7a332935b3489b2aa913825a85fd5b0b50dff7.tar.gz
bugzilla-ad7a332935b3489b2aa913825a85fd5b0b50dff7.tar.xz
Tabular reports' column headers do not use display_value.
r/a=LpSolit https://bugzilla.mozilla.org/show_bug.cgi?id=734413
-rw-r--r--template/en/default/reports/report-table.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl
index 1ab48c34e..0e6193c25 100644
--- a/template/en/default/reports/report-table.html.tmpl
+++ b/template/en/default/reports/report-table.html.tmpl
@@ -85,7 +85,7 @@ YAHOO.util.Event.addListener(window, "load", function() {
var myColumnDefs = [
{key:"row_title", label:"", sortable:true, sortOptions: { sortFunction:totalNumberSorter }},
[% FOREACH col = col_names %]
- {key:"[% col FILTER js %]", label:"[% col FILTER js %]", sortable:true,
+ {key:"[% col FILTER js %]", label:"[% display_value(col_field, col) FILTER js %]", sortable:true,
formatter:this.Linkify, sortOptions: { defaultDir: YAHOO.widget.DataTable.CLASS_DESC, sortFunction:totalNumberSorter }},
[% END %]
{key:"total", label:"Total", sortable:true, formatter:this.LinkifyTotal,