task users, set priority at column and task, timer entity
This commit is contained in:
1 parent
c50dc189a7
commit
5da6746cc4
12 files changed
+794
-8
No files matched your search
@@ -126,6 +126,9 @@ class ProjectColumn extends \yii\db\ActiveRecord
|
||||
*/
|
||||
public function getTasks()
|
||||
{
|
||||
return $this->hasMany(ProjectTask::class, ['column_id' => 'id'])->with('taskUsers')->where(['status' => ProjectTask::STATUS_ACTIVE]);
|
||||
return $this->hasMany(ProjectTask::class, ['column_id' => 'id'])
|
||||
->with('taskUsers')
|
||||
->where(['status' => ProjectTask::STATUS_ACTIVE])
|
||||
->orderBy('priority');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user