fix(Report): Column key for child columns must be doctype:name (#6256)
- Column key should be same as the key sent by server for child rows
This commit is contained in:
parent
1f1a1ec810
commit
efe2b281cb
1 changed files with 4 additions and 1 deletions
|
|
@ -774,8 +774,11 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
|
|||
|
||||
const width = (docfield ? cint(docfield.width) : null) || null;
|
||||
|
||||
// child table column
|
||||
const id = doctype !== this.doctype ? `${doctype}:${fieldname}` : fieldname;
|
||||
|
||||
return {
|
||||
id: fieldname,
|
||||
id: id,
|
||||
field: fieldname,
|
||||
name: title,
|
||||
content: title,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue