* Finish task #50329.

This commit is contained in:
tianshujie
2022-03-07 14:29:01 +08:00
parent 789817259e
commit a1bd5d6d48
+1
View File
@@ -1733,6 +1733,7 @@ class block extends control
$objects = $this->dao->select('*')->from($table)
->where('deleted')->eq(0)
->andWhere('assignedTo')->eq($this->app->user->account)->fi()
->beginIF($objectType == 'story')->andWhere('type')->eq('story')->fi()
->beginIF($objectType == 'todo')->andWhere('cycle')->eq(0)->fi()
->beginIF($objectType == 'todo')->andWhere('status')->eq('wait')->fi()
->beginIF($objectType != 'todo')->andWhere('status')->ne('closed')->fi()