summaryrefslogtreecommitdiff
path: root/app/Controller/Gantt.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-20 21:26:42 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-20 21:26:42 -0400
commit1484b1c39cac6af68038420b8525620a5424d4ab (patch)
tree151bac4a4312f439ea17f32dd6d766da7e50a5ab /app/Controller/Gantt.php
parent5b888a23454e369ebf383c3003497038ae2fbf5d (diff)
Show closed tasks on the Gantt chart and fix rounding for task progress
Diffstat (limited to 'app/Controller/Gantt.php')
-rw-r--r--app/Controller/Gantt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Gantt.php b/app/Controller/Gantt.php
index 6f3fb5c7..f450bca3 100644
--- a/app/Controller/Gantt.php
+++ b/app/Controller/Gantt.php
@@ -19,7 +19,7 @@ class Gantt extends Base
{
$project = $this->getProject();
$sorting = $this->request->getStringParam('sorting', 'board');
- $filter = $this->taskFilter->gantt()->filterByProject($project['id'])->filterByStatus(TaskModel::STATUS_OPEN);
+ $filter = $this->taskFilter->gantt()->filterByProject($project['id']);
if ($sorting === 'date') {
$filter->query->asc(TaskModel::TABLE.'.date_started')->asc(TaskModel::TABLE.'.date_creation');