bug fixes

This commit is contained in:
Dennis Eichhorn 2024-05-12 00:06:28 +00:00
parent 13907cbc86
commit bdaf777637
3 changed files with 6 additions and 1 deletions

View File

@ -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.'

View File

@ -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,

View File

@ -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;
}