diff options
author | Francois Ferrand <thetypz@gmail.com> | 2014-07-01 11:56:58 +0200 |
---|---|---|
committer | Francois Ferrand <thetypz@gmail.com> | 2014-07-01 12:00:37 +0200 |
commit | 95d3fa0e301da0e363639e43523104626b0638aa (patch) | |
tree | e17cc6694215610b70cf1006be02d735025a3054 | |
parent | 06d0b7048ebcdfdf6e24eec3ac7dc8fb0327dd6f (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.php | 8 |
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') |