summaryrefslogtreecommitdiff
path: root/app/Model/ProjectDailyColumnStats.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/ProjectDailyColumnStats.php')
-rw-r--r--app/Model/ProjectDailyColumnStats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/ProjectDailyColumnStats.php b/app/Model/ProjectDailyColumnStats.php
index cf79be84..2bcc4d55 100644
--- a/app/Model/ProjectDailyColumnStats.php
+++ b/app/Model/ProjectDailyColumnStats.php
@@ -84,7 +84,7 @@ class ProjectDailyColumnStats extends Base
*/
public function getAggregatedMetrics($project_id, $from, $to, $field = 'total')
{
- $columns = $this->board->getColumnsList($project_id);
+ $columns = $this->column->getList($project_id);
$metrics = $this->getMetrics($project_id, $from, $to);
return $this->buildAggregate($metrics, $columns, $field);
}