* Fix bug#13385.

This commit is contained in:
qiyu-xie
2021-07-06 13:16:39 +08:00
parent 7f84c6da14
commit 4347cc014e
3 changed files with 51 additions and 2 deletions
+15
View File
@@ -1919,4 +1919,19 @@ class bug extends control
$this->view->lines = $this->product->getLinePairs();
$this->display();
}
/**
* Ajax get project team members.
*
* @param int $projectID
* @access public
* @return void
*/
public function ajaxGetProjectTeamMembers($projectID)
{
$users = $this->loadModel('user')->getPairs('noclosed');
$teamMembers = empty($projectID) ? array() : $this->loadModel('project')->getTeamMemberPairs($projectID);
foreach($teamMembers as $account => $member) $teamMembers[$account] = $users[$account];
die(html::select('assignedTo', $teamMembers, '', 'class="form-control"'));
}
}