* Finish task #107882.

This commit is contained in:
tanghucheng
2023-12-13 00:37:11 -05:00
parent 8506cd3c35
commit 21d02478c0
+3 -1
View File
@@ -332,7 +332,9 @@ class testtaskModel extends model
->where('t1.deleted')->eq(0)
->andWhere('t4.deleted')->eq(0)
->andWhere('t1.auto')->ne('unit')
->andWhere('t1.owner')->eq($account)
->andWhere('(t1.owner')->eq($account)
->orWhere("FIND_IN_SET('$account', t1.members)")
->markRight(1)
->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()