Add a page to display completed tasks and add the completion date column for tasks

This commit is contained in:
Frédéric Guillot
2014-02-22 13:37:06 -05:00
parent fd28d50597
commit a1923d3d7f
13 changed files with 215 additions and 11 deletions

View File

@@ -188,7 +188,7 @@ class Task extends Base
{
$task = $this->task->getById($this->request->getIntegerParam('task_id'));
if ($task && $this->task->close($task['id'])) {
if ($task && $this->task->open($task['id'])) {
$this->session->flash(t('Task opened successfully.'));
} else {
$this->session->flashError(t('Unable to open this task.'));