Skip to content

EspoCRM – Open Source CRM Application

full text search for cases

Yuri Kuznetsovb1076ba1bdbd
diff --git a/application/Espo/Modules/Crm/Resources/layouts/Case/filters.json b/application/Espo/Modules/Crm/Resources/layouts/Case/filters.json
index 67c0b125f7..d915cd4f29 100644
--- a/application/Espo/Modules/Crm/Resources/layouts/Case/filters.json
+++ b/application/Espo/Modules/Crm/Resources/layouts/Case/filters.json
@@ -7,10 +7,11 @@
"account",
"contact",
"number",
+ "name",
+ "description",
"isInternal",
"createdAt",
"createdBy",
"modifiedAt",
- "streamUpdatedAt",
- "description"
+ "streamUpdatedAt"
]
diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Case.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Case.json
index 7e4ed70f88..7f3d8419ff 100644
--- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Case.json
+++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Case.json
@@ -207,7 +207,8 @@
"collection": {
"orderBy": "number",
"order": "desc",
- "textFilterFields": ["name", "number"]
+ "textFilterFields": ["name", "number", "description"],
+ "fullTextSearch": true
},
"indexes": {
"status": {