From 86c3146761d9a4c69cbf9c145ebcfe9feb13b6a3 Mon Sep 17 00:00:00 2001 From: andrey Date: Thu, 12 Aug 2021 12:35:59 +0300 Subject: [PATCH] search by position_id fix --- frontend/modules/api/models/ProfileSearchForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){