* Finish task #73291.

This commit is contained in:
tianshujie
2022-11-08 14:33:53 +08:00
parent e593c657d4
commit 51a786f73d
6 changed files with 91 additions and 97 deletions
+1 -10
View File
@@ -42,16 +42,7 @@ $rows = array();
$this->loadModel('project');
foreach($programs as $program)
{
$row = new stdclass();
foreach($this->config->program->dtable->fieldList as $field)
{
$fieldName = $field['name'];
$row->$fieldName = $this->program->buildCell($field, $program, $users, $usersAvatar, $userIdPairs, $PMList, $progressList);
}
$row->id = $program->id;
$row->parent = $program->parent;
$rows[] = $row;
$rows[] = $this->program->buildRowData($program, $PMList, $progressList);
}
$table->search($status, $moduleName);