fix help search

This commit is contained in:
Dennis Eichhorn 2023-09-29 16:41:57 +00:00
parent 29e81829da
commit e587b19bb8

View File

@ -67,7 +67,7 @@ final class SearchController extends Controller
$files = [];
/** @var array<array{name:array{internal:string, external:string}}> @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);
}
}