rename task to project_task and task_user to project_task_user; create project_task_category, fix bug in create project method
This commit is contained in:
@ -37,7 +37,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
'model' => $searchModel,
|
||||
'attribute' => 'task_id',
|
||||
'data' => ProjectTaskUser::find()->joinWith('task')
|
||||
->select(['task.title', 'task.id'])->indexBy('task.id')->column(),
|
||||
->select(['project_task.title', 'project_task.id'])->indexBy('project_task.id')->column(),
|
||||
'pluginOptions' => [
|
||||
'allowClear' => true,
|
||||
'width' => '250px',
|
||||
@ -55,7 +55,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
'model' => $searchModel,
|
||||
'attribute' => 'project_user_id',
|
||||
'data' => ProjectTaskUser::find()->joinWith('projectUser.card')
|
||||
->select(['user_card.fio', 'task_user.id'])->column(),
|
||||
->select(['user_card.fio', 'project_task_user.id'])->column(),
|
||||
'pluginOptions' => [
|
||||
'allowClear' => true,
|
||||
'width' => '250px',
|
||||
|
Reference in New Issue
Block a user