Merge branch 'hotfix/5.9.4' of https://github.com/espocrm/espocrm into hotfix/5.9.4
This commit is contained in:
@@ -75,7 +75,7 @@ class Email extends \Espo\Core\SelectManagers\Base
|
||||
$skipIndex = true;
|
||||
}
|
||||
|
||||
$actualDatabaseType = $this->getConfig()->get('actualDatabaseType');
|
||||
/*$actualDatabaseType = strtolower($this->getConfig()->get('actualDatabaseType'));
|
||||
$actualDatabaseVersion = $this->getConfig()->get('actualDatabaseVersion');
|
||||
|
||||
if (
|
||||
@@ -84,7 +84,12 @@ class Email extends \Espo\Core\SelectManagers\Base
|
||||
$this->hasLinkJoined('teams', $result)
|
||||
) {
|
||||
$skipIndex = true;
|
||||
}*/
|
||||
|
||||
if ($this->hasLinkJoined('teams', $result)) {
|
||||
$skipIndex = true;
|
||||
}
|
||||
|
||||
if (!$skipIndex) {
|
||||
$result['useIndex'] = 'dateSent';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user