global search fix
This commit is contained in:
@@ -74,6 +74,9 @@ class GlobalSearch extends \Espo\Core\Services\Base
|
||||
if (!$this->getAcl()->checkScope($entityType, 'read')) {
|
||||
continue;
|
||||
}
|
||||
if (!$this->getMetadata()->get('scopes.' . $entityType)) {
|
||||
continue;
|
||||
}
|
||||
$params = array(
|
||||
'select' => ['id', 'name', ['VALUE:' . $entityType, 'entityType']]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user