* Rename program lang.

This commit is contained in:
Yagami
2020-09-16 14:54:23 +08:00
parent 685fbad61a
commit 334260162a
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ class programModel extends model
foreach($programs as $programID => $program)
{
$orderBy = $program->template == 'waterfall' ? 'id_asc' : 'id_desc';
$orderBy = $program->model == 'waterfall' ? 'id_asc' : 'id_desc';
$program->projects = $this->project->getProjectStats($status, 0, 0, $itemCounts, $orderBy, $pager, $programID);
$program->teamCount = isset($teams[$programID]) ? $teams[$programID]->count : 0;
$program->estimate = isset($estimates[$programID]) ? $estimates[$programID]->estimate : 0;