* Fix bug.

This commit is contained in:
Yagami
2020-12-24 09:49:27 +08:00
parent 38fd427535
commit 8e2ba0762e
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ class testtaskModel extends model
->where('t1.deleted')->eq(0)
->andWhere('t1.auto')->ne('unit')
->andWhere('t1.owner')->eq($account)
->andWhere('t2.id')->in($this->app->user->view->projects)
->andWhere('t2.id')->in($this->app->user->view->sprints)
->beginIF($type == 'wait')->andWhere('t1.status')->ne('done')->fi()
->beginIF($type == 'done')->andWhere('t1.status')->eq('done')->fi()
->orderBy($orderBy)