EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
globals search order by entity type position
Yurii8206738c56a2
diff --git a/application/Espo/Tools/GlobalSearch/Service.php b/application/Espo/Tools/GlobalSearch/Service.phpindex 4bad966c05..8e6abbaeed 100644--- a/application/Espo/Tools/GlobalSearch/Service.php+++ b/application/Espo/Tools/GlobalSearch/Service.php@@ -113,7 +113,7 @@ class Service$builder->order('relevance', Order::DESC);}- $builder->order('order', Order::DESC);+ $builder->order('order');$builder->order(Field::NAME);$unionQuery = $builder->build();