From e587b19bb81b9572faec34902f9408e8b2c628fd Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 29 Sep 2023 16:41:57 +0000 Subject: [PATCH] fix help search --- Controller/SearchController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } }