From bdaf777637979a9a484275110a909dc14e255a80 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 | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) 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 2565cf2..287703d 100644 --- a/Admin/Install/SearchCommands.php +++ b/Admin/Install/SearchCommands.php @@ -23,6 +23,7 @@ return [ 'dest' => '\Modules\Kanban\Controller\SearchController:searchGeneral', 'verb' => RouteVerb::ANY, 'active' => true, + 'order' => 8, 'permission' => [ 'module' => SearchController::NAME, 'type' => PermissionType::READ, diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 544ca2e..960f578 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -190,9 +190,11 @@ final class ApiController extends Controller $card->commentList = $commnetList; } + /* if ($request->hasData('tags')) { $card->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request); } + */ // @todo Implement correct path (based on board id) if (!empty($request->files)) { @@ -294,9 +296,11 @@ final class ApiController extends Controller $board->status = BoardStatus::tryFromValue($request->getDataInt('status')) ?? BoardStatus::ACTIVE; $board->createdBy = new NullAccount($request->header->account); + /* if ($request->hasData('tags')) { $board->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request); } + */ return $board; }