* code for task #71612.

This commit is contained in:
wangyidong
2022-10-10 10:45:36 +08:00
parent c2289a381c
commit e9b5ab09cc
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -1014,7 +1014,6 @@ EOF;
$this->view->outputs = $this->pssp->getOutputPairs();
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->auditplan;
$this->view->position[] = $this->lang->my->auditplan;
$this->view->browseType = $browseType;
$this->view->auditplans = $auditplans;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter');
+1
View File
@@ -1233,6 +1233,7 @@ class userModel extends model
->beginIF($status == 'done')->andWhere('status')->in('done,closed')->fi()
->beginIF($status == 'undone')->andWhere('status')->notin('done,closed')->fi()
->beginIF($status == 'openedbyme')->andWhere('openedBy')->eq($account)->fi()
->beginIF($type == 'execution')->andWhere('t2.multiple')->eq('1')->fi()
->beginIF($type == 'execution' and !$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->sprints)->fi()
->beginIF($type == 'project' and !$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->projects)->fi()
->andWhere('t1.account')->eq($account)