* custom show deleted user.

This commit is contained in:
wangyidong
2017-09-04 14:46:17 +08:00
parent ded7a07ad7
commit f60a4c664b
32 changed files with 185 additions and 90 deletions
+3 -3
View File
@@ -138,7 +138,7 @@ class task extends control
}
}
$users = $this->loadModel('user')->getPairs('noclosed');
$users = $this->loadModel('user')->getPairs('noclosed|nodeleted');
$moduleIdList = $this->tree->getAllChildID($moduleID);
$stories = $this->story->getProjectStoryPairs($projectID, 0, 0, $moduleIdList);
$members = $this->project->getTeamMemberPairs($projectID, 'nodeleted');
@@ -295,7 +295,7 @@ class task extends control
$this->view->position[] = $this->lang->task->common;
$this->view->position[] = $this->lang->task->edit;
$this->view->stories = $this->story->getProjectStoryPairs($this->view->project->id);
$this->view->users = $this->loadModel('user')->getPairs('', "{$this->view->task->openedBy},{$this->view->task->canceledBy},{$this->view->task->closedBy}");
$this->view->users = $this->loadModel('user')->getPairs('nodeleted', "{$this->view->task->openedBy},{$this->view->task->canceledBy},{$this->view->task->closedBy}");
$this->view->modules = $this->tree->getTaskOptionMenu($this->view->task->project);
$this->display();
}
@@ -352,7 +352,7 @@ class task extends control
/* Set modules and members. */
$modules = $this->tree->getTaskOptionMenu($projectID);
$modules = array('ditto' => $this->lang->task->ditto) + $modules;
$members = $this->project->getTeamMemberPairs($projectID);
$members = $this->project->getTeamMemberPairs($projectID, 'nodeleted');
$members = array('' => '', 'ditto' => $this->lang->task->ditto) + $members;
$members['closed'] = 'Closed';