From 4db0f4d5415a3b1ca8232d26f804326ad3a60d90 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 12 May 2024 00:06:28 +0000 Subject: [PATCH] bug fixes --- .github/workflows/greetings.yml | 2 +- Admin/Install/SearchCommands.php | 1 + Controller/ApiController.php | 2 ++ Theme/Backend/wiki-dashboard.tpl.php | 4 ++-- Theme/Backend/wiki-doc-list.tpl.php | 4 ++-- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index adb8716..75cb759 100755 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -9,5 +9,5 @@ jobs: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: 'Thank you for createing this issue. We will check it as soon as possible.' + issue-message: 'Thank you for creating this issue. We will check it as soon as possible.' pr-message: 'Thank you for your pull request. We will check it as soon as possible.' diff --git a/Admin/Install/SearchCommands.php b/Admin/Install/SearchCommands.php index a3343b6..1611a14 100644 --- a/Admin/Install/SearchCommands.php +++ b/Admin/Install/SearchCommands.php @@ -23,6 +23,7 @@ return [ 'dest' => '\Modules\Knowledgebase\Controller\SearchController:searchGeneral', 'verb' => RouteVerb::ANY, 'active' => true, + 'order' => 7, 'permission' => [ 'module' => SearchController::NAME, 'type' => PermissionType::READ, diff --git a/Controller/ApiController.php b/Controller/ApiController.php index f9038f0..8671986 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -168,9 +168,11 @@ final class ApiController extends Controller $doc->language = ISO639x1Enum::tryFromValue($request->getDataString('language')) ?? $request->header->l11n->language; $doc->status = WikiStatus::tryFromValue($request->getDataInt('status')) ?? WikiStatus::INACTIVE; + /* if ($request->hasData('tags')) { $doc->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request); } + */ return $doc; } diff --git a/Theme/Backend/wiki-dashboard.tpl.php b/Theme/Backend/wiki-dashboard.tpl.php index d55f71a..3d3d85b 100755 --- a/Theme/Backend/wiki-dashboard.tpl.php +++ b/Theme/Backend/wiki-dashboard.tpl.php @@ -31,7 +31,7 @@ echo $this->data['nav']->render(); ?>
id); ?>
-
+
+
diff --git a/Theme/Backend/wiki-doc-list.tpl.php b/Theme/Backend/wiki-doc-list.tpl.php index c41f8a7..2627eea 100644 --- a/Theme/Backend/wiki-doc-list.tpl.php +++ b/Theme/Backend/wiki-doc-list.tpl.php @@ -32,7 +32,7 @@ echo $this->data['nav']->render(); ?>
-
+
getHtml('Docs'); ?> download @@ -53,7 +53,7 @@ echo $this->data['nav']->render(); ?>
-
+