mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
fixes
This commit is contained in:
@@ -187,14 +187,10 @@ class DataManager
|
||||
$fullTextSearchMinLength = null;
|
||||
if ($row = $sth->fetch(\PDO::FETCH_ASSOC)) {
|
||||
if (isset($row['Value'])) {
|
||||
$fullTextSearchIsNotAvailable = false;
|
||||
$fullTextSearchMinLength = intval($row['Value']);
|
||||
}
|
||||
} else {
|
||||
$fullTextSearchIsNotAvailable = true;
|
||||
}
|
||||
|
||||
$config->set('fullTextSearchIsNotAvailable', $fullTextSearchIsNotAvailable);
|
||||
$config->set('fullTextSearchMinLength', $fullTextSearchMinLength);
|
||||
|
||||
$config->save();
|
||||
|
||||
@@ -1510,10 +1510,6 @@ class Base
|
||||
return $this->fullTextSearchDataCacheHash[$textFilter];
|
||||
}
|
||||
|
||||
if ($this->getConfig()->get('fullTextSearchIsNotAvailable')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if ($this->getConfig()->get('fullTextSearchDisabled')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user