fix task rel

This commit is contained in:
Kavalar 2023-12-08 16:03:13 +03:00
parent 4046e71ffa
commit f0d74bd7af

View File

@ -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');
} }