Minor fix in query report
This commit is contained in:
parent
6ae8e26c5a
commit
7d9bd54915
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ frappe.views.QueryReport = Class.extend({
|
|||
if (!cint(df.width)) df.width = 80;
|
||||
|
||||
var col = $.extend({}, df, {
|
||||
label: df.label || __(toTitle(df.fieldname.replace(/_/g, " "))),
|
||||
label: df.label || (df.fieldname && __(toTitle(df.fieldname.replace(/_/g, " ")))) || "",
|
||||
sortable: true,
|
||||
df: df,
|
||||
formatter: formatter
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue