column some
This commit is contained in:
parent
add34538f1
commit
55b282c7bd
@ -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');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user