Differential D20879 Diff 49776 src/applications/project/chart/PhabricatorProjectBurndownChartEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/chart/PhabricatorProjectBurndownChartEngine.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | if ($project_phids) { | ||||
array( | array( | ||||
'accumulate', | 'accumulate', | ||||
$this->newFactSum('tasks.open-count.status.project', $project_phids), | $this->newFactSum('tasks.open-count.status.project', $project_phids), | ||||
)); | )); | ||||
} else { | } else { | ||||
$open_function = $this->newFunction( | $open_function = $this->newFunction( | ||||
array( | array( | ||||
'accumulate', | 'accumulate', | ||||
array( | |||||
'sum', | |||||
array('fact', 'tasks.open-count.create'), | array('fact', 'tasks.open-count.create'), | ||||
array('fact', 'tasks.open-count.status'), | |||||
), | |||||
)); | )); | ||||
$closed_function = $this->newFunction( | $closed_function = $this->newFunction( | ||||
array( | array( | ||||
'accumulate', | 'accumulate', | ||||
array('fact', 'tasks.open-count.status'), | array('fact', 'tasks.open-count.status'), | ||||
)); | )); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |