summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Action.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php
index c3bfe017..7547e37e 100644
--- a/app/Model/Action.php
+++ b/app/Model/Action.php
@@ -58,6 +58,7 @@ class Action extends Base
'TaskAssignCategoryLabel' => t('Change the category based on an external label'),
'TaskUpdateStartDate' => t('Automatically update the start date'),
'TaskMoveColumnCategoryChange' => t('Move the task to another column when the category is changed'),
+ 'TaskEmail' => t('Send a task by email to someone'),
);
asort($values);
@@ -351,10 +352,13 @@ class Action extends Base
$categoryTemplate = $this->category->getById($param['value']);
$categoryFromNewProject = $this->db->table(Category::TABLE)->eq('project_id', $project_to)->eq('name', $categoryTemplate['name'])->findOne();
return $categoryFromNewProject['id'];
+ case 'src_column_id':
+ case 'dest_column_id':
case 'column_id':
$boardTemplate = $this->board->getColumn($param['value']);
$boardFromNewProject = $this->db->table(Board::TABLE)->eq('project_id', $project_to)->eq('title', $boardTemplate['title'])->findOne();
return $boardFromNewProject['id'];
+ // TODO: Add user_id
default:
return $param['value'];
}