task users, set priority at column and task, timer entity
This commit is contained in:
@ -106,7 +106,9 @@ class Project extends \yii\db\ActiveRecord
|
||||
*/
|
||||
public function getColumns()
|
||||
{
|
||||
return $this->hasMany(ProjectColumn::class, ['project_id' => 'id'])->with('tasks')->where(['status' => ProjectColumn::STATUS_ACTIVE]);
|
||||
return $this->hasMany(ProjectColumn::class, ['project_id' => 'id'])
|
||||
->with('tasks')
|
||||
->where(['status' => ProjectColumn::STATUS_ACTIVE])->orderBy('priority');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user