export populate with list layout
This commit is contained in:
@@ -346,6 +346,14 @@ Espo.define('views/record/list', 'view', function (Dep) {
|
||||
};
|
||||
if (fieldList) {
|
||||
o.fieldList = fieldList;
|
||||
} else {
|
||||
var layoutFieldList = [];
|
||||
(this.listLayout || []).forEach(function (item) {
|
||||
if (item.name) {
|
||||
layoutFieldList.push(item.name);
|
||||
}
|
||||
}, this);
|
||||
o.fieldList = layoutFieldList;
|
||||
}
|
||||
|
||||
this.createView('dialogExport', 'views/export/modals/export', o, function (view) {
|
||||
|
||||
Reference in New Issue
Block a user