mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-02-18 21:28:40 +00:00
bug fixes
This commit is contained in:
parent
13907cbc86
commit
bdaf777637
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
|
|
@ -9,5 +9,5 @@ jobs:
|
||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v1
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
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.'
|
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ return [
|
||||||
'dest' => '\Modules\Kanban\Controller\SearchController:searchGeneral',
|
'dest' => '\Modules\Kanban\Controller\SearchController:searchGeneral',
|
||||||
'verb' => RouteVerb::ANY,
|
'verb' => RouteVerb::ANY,
|
||||||
'active' => true,
|
'active' => true,
|
||||||
|
'order' => 8,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => SearchController::NAME,
|
'module' => SearchController::NAME,
|
||||||
'type' => PermissionType::READ,
|
'type' => PermissionType::READ,
|
||||||
|
|
|
||||||
|
|
@ -190,9 +190,11 @@ final class ApiController extends Controller
|
||||||
$card->commentList = $commnetList;
|
$card->commentList = $commnetList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if ($request->hasData('tags')) {
|
if ($request->hasData('tags')) {
|
||||||
$card->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
$card->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// @todo Implement correct path (based on board id)
|
// @todo Implement correct path (based on board id)
|
||||||
if (!empty($request->files)) {
|
if (!empty($request->files)) {
|
||||||
|
|
@ -294,9 +296,11 @@ final class ApiController extends Controller
|
||||||
$board->status = BoardStatus::tryFromValue($request->getDataInt('status')) ?? BoardStatus::ACTIVE;
|
$board->status = BoardStatus::tryFromValue($request->getDataInt('status')) ?? BoardStatus::ACTIVE;
|
||||||
$board->createdBy = new NullAccount($request->header->account);
|
$board->createdBy = new NullAccount($request->header->account);
|
||||||
|
|
||||||
|
/*
|
||||||
if ($request->hasData('tags')) {
|
if ($request->hasData('tags')) {
|
||||||
$board->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
$board->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return $board;
|
return $board;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user