]> 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:06:33 +0000 (17:06 +0100)
committerMarc Schumann <wurblzap@gmail.com>
Sat, 10 Mar 2012 16:06:33 +0000 (17:06 +0100)
r/a=LpSolit

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

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

index 1ab48c34e541813518e42ee346060f4574da92c1..0e6193c25965c66494cdd2209a5cd78eb7936a59 100644 (file)
@@ -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,