* Finish task #5296.
This commit is contained in:
@@ -1671,7 +1671,7 @@ class taskModel extends model
|
||||
->leftjoin(TABLE_PROJECT)->alias('t2')->on('t1.project = t2.id')
|
||||
->leftjoin(TABLE_STORY)->alias('t3')->on('t1.story = t3.id')
|
||||
->where('t1.deleted')->eq(0)
|
||||
->beginIF($type == 'assignedTo')->andWhere('t1.status')->ne('closed')->fi()
|
||||
->beginIF($type != 'closedBy')->andWhere('t1.status')->ne('closed')->fi()
|
||||
->beginIF($type == 'finishedBy')
|
||||
->andWhere('t1.finishedby', 1)->eq($account)
|
||||
->orWhere('t1.finishedList')->like("%,{$account},%")
|
||||
|
||||
Reference in New Issue
Block a user