diff --git a/frontend/modules/api/models/ProfileSearchForm.php b/frontend/modules/api/models/ProfileSearchForm.php index 7240c76..c6a5075 100644 --- a/frontend/modules/api/models/ProfileSearchForm.php +++ b/frontend/modules/api/models/ProfileSearchForm.php @@ -54,7 +54,7 @@ class ProfileSearchForm extends Model public function byParams() { - $model = UserCard::find()->select('user_card.id'); + $model = UserCard::find(); if($this->skills){