]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Tabular reports' column headers do not use display_value.
authorMarc Schumann <wurblzap@gmail.com>
Sat, 10 Mar 2012 16:07:30 +0000 (17:07 +0100)
committerMarc Schumann <wurblzap@gmail.com>
Sat, 10 Mar 2012 16:07:30 +0000 (17:07 +0100)
r/a=LpSolit

https://bugzilla.mozilla.org/show_bug.cgi?id=734413

template/en/default/reports/report-table.html.tmpl

index 15de4bc90a389e05cd32ca698a2f1848c7ee0419..8a3ab95242dfd7e9fff3bd28c0658dfe17340373 100644 (file)
@@ -102,7 +102,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,