column some

This commit is contained in:
Kavalar 2023-12-04 20:22:08 +03:00
parent add34538f1
commit 55b282c7bd

View File

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