summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Ferrand <thetypz@gmail.com>2014-07-01 11:56:58 +0200
committerFrancois Ferrand <thetypz@gmail.com>2014-07-01 12:00:37 +0200
commit95d3fa0e301da0e363639e43523104626b0638aa (patch)
treee17cc6694215610b70cf1006be02d735025a3054
parent06d0b7048ebcdfdf6e24eec3ac7dc8fb0327dd6f (diff)
Allow 'no category' and 'unassigned' in actions.
This can be used to assign a color to task with no category/assignee, or to reset assignee.
-rw-r--r--app/Controller/Action.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controller/Action.php b/app/Controller/Action.php
index 11dc3b29..797bbfa2 100644
--- a/app/Controller/Action.php
+++ b/app/Controller/Action.php
@@ -33,10 +33,10 @@ class Action extends Base
'available_events' => $this->action->getAvailableEvents(),
'available_params' => $this->action->getAllActionParameters(),
'columns_list' => $this->board->getColumnsList($project['id']),
- 'users_list' => $this->project->getUsersList($project['id'], false),
+ 'users_list' => $this->project->getUsersList($project['id']),
'projects_list' => $this->project->getList(false),
'colors_list' => $this->task->getColors(),
- 'categories_list' => $this->category->getList($project['id'], false),
+ 'categories_list' => $this->category->getList($project['id']),
'menu' => 'projects',
'title' => t('Automatic actions')
)));
@@ -64,10 +64,10 @@ class Action extends Base
'values' => $values,
'action_params' => $action->getActionRequiredParameters(),
'columns_list' => $this->board->getColumnsList($project['id']),
- 'users_list' => $this->project->getUsersList($project['id'], false),
+ 'users_list' => $this->project->getUsersList($project['id']),
'projects_list' => $this->project->getList(false),
'colors_list' => $this->task->getColors(),
- 'categories_list' => $this->category->getList($project['id'], false),
+ 'categories_list' => $this->category->getList($project['id']),
'project' => $project,
'menu' => 'projects',
'title' => t('Automatic actions')