changing foreign key in user_response from id to uuid, completed add greedy loading, some refactoring
This commit is contained in:
@ -60,7 +60,7 @@ class UserQuestionnaireController extends Controller
|
||||
{
|
||||
$model = $this->findModel($id);
|
||||
$responseDataProvider = new ActiveDataProvider([
|
||||
'query' => $model->getUserResponses(),
|
||||
'query' => $model->getUserResponses()->with('question', 'questionType'),
|
||||
'pagination' => [
|
||||
'pageSize' => 20,
|
||||
],
|
||||
|
Reference in New Issue
Block a user