Skip to content

EspoCRM – Open Source CRM Application

import impr

Yuri Kuznetsovc3a3fb340718
diff --git a/application/Espo/Resources/layouts/Import/filters.json b/application/Espo/Resources/layouts/Import/filters.json
new file mode 100644
index 0000000000..de4604735e
--- /dev/null
+++ b/application/Espo/Resources/layouts/Import/filters.json
@@ -0,0 +1,6 @@
+[
+ "createdAt",
+ "createdBy",
+ "entityType",
+ "status"
+]
diff --git a/application/Espo/Resources/layouts/Import/list.json b/application/Espo/Resources/layouts/Import/list.json
index 3f76b88513..570cd6f6c8 100644
--- a/application/Espo/Resources/layouts/Import/list.json
+++ b/application/Espo/Resources/layouts/Import/list.json
@@ -1,5 +1,6 @@
[
- {"name":"createdAt", "width":50, "link": true},
- {"name":"entityType"},
- {"name":"createdBy"}
+ {"name":"createdAt", "link": true},
+ {"name":"status", "width": 20},
+ {"name":"entityType", "width": 20},
+ {"name":"createdBy", "width": 20}
]
diff --git a/application/Espo/Resources/metadata/clientDefs/Import.json b/application/Espo/Resources/metadata/clientDefs/Import.json
index b698d07366..a8fc996b71 100644
--- a/application/Espo/Resources/metadata/clientDefs/Import.json
+++ b/application/Espo/Resources/metadata/clientDefs/Import.json
@@ -38,7 +38,7 @@
}
]
},
- "searchPanelDisabled": true,
+ "textFilterDisabled": true,
"relationshipPanels": {
"errors": {
"unlinkDisabled": true,
diff --git a/application/Espo/Resources/metadata/entityDefs/Import.json b/application/Espo/Resources/metadata/entityDefs/Import.json
index 5e42b7c5aa..078436d3bc 100644
--- a/application/Espo/Resources/metadata/entityDefs/Import.json
+++ b/application/Espo/Resources/metadata/entityDefs/Import.json
@@ -11,6 +11,8 @@
"type": "enum",
"options": ["Standby", "Pending", "In Process", "Complete", "Failed"],
"readOnly": true,
+ "displayAsLabel": true,
+ "labelType": "state",
"style": {
"Complete": "success",
"Failed": "danger"
@@ -54,7 +56,8 @@
},
"createdBy": {
"type": "link",
- "readOnly": true
+ "readOnly": true,
+ "view": "views/fields/user-with-avatar"
}
},
"links": {