diff --git a/Controller/SearchController.php b/Controller/SearchController.php index 16a356e..690e214 100755 --- a/Controller/SearchController.php +++ b/Controller/SearchController.php @@ -67,7 +67,7 @@ final class SearchController extends Controller $files = []; /** @var array @activeModules */ - $activeModules = $this->app->moduleManager->getActiveModules(); + $activeModules = $this->app->moduleManager->getActiveModules(false); foreach ($activeModules as $module) { $path = __DIR__ . '/../../' . $module['name']['internal'] . '/Docs/Help/' . $lang; @@ -130,7 +130,6 @@ final class SearchController extends Controller // @todo: probably cleanup return for link generation + sort by best match $response->header->set('Content-Type', MimeType::M_JSON . '; charset=utf-8', true); - $response->set($request->uri->__toString(), $files); } }