fix task rel
This commit is contained in:
parent
4046e71ffa
commit
f0d74bd7af
@ -128,7 +128,7 @@ class ProjectColumn extends \yii\db\ActiveRecord
|
|||||||
public function getTasks()
|
public function getTasks()
|
||||||
{
|
{
|
||||||
return $this->hasMany(ProjectTask::class, ['column_id' => 'id'])
|
return $this->hasMany(ProjectTask::class, ['column_id' => 'id'])
|
||||||
->with(['taskUsers', ''])
|
->with(['taskUsers'])
|
||||||
->where(['status' => ProjectTask::STATUS_ACTIVE])
|
->where(['status' => ProjectTask::STATUS_ACTIVE])
|
||||||
->orderBy('priority');
|
->orderBy('priority');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user