Show closed tasks on the Gantt chart and fix rounding for task progress
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user