diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js index d206c0cedb..d065105157 100644 --- a/client/src/views/record/list.js +++ b/client/src/views/record/list.js @@ -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) {