diff --git a/Classes/Service/SearchService.php b/Classes/Service/SearchService.php index c258c26..3780e2e 100644 --- a/Classes/Service/SearchService.php +++ b/Classes/Service/SearchService.php @@ -27,13 +27,6 @@ public function search(string $query, string $sorting = 'crdate_desc', array $ty return $result; } - // Do not try to search when caching is disabled - // We might have no index ready and an exception - // would occur - if ($GLOBALS['TSFE']->no_cache === true) { - return $result; - } - [$sortingColumn, $sortingDesc] = explode('_', $sorting); foreach ($types as $type) {