From 79ddf1ce35f5ed38e0c9b16a3ce995a20d3ad389 Mon Sep 17 00:00:00 2001 From: Korzinkayablok Date: Wed, 15 Sep 2021 16:43:14 +0300 Subject: [PATCH] Removed comments --- frontend/modules/api/models/ProfileSearchForm.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/modules/api/models/ProfileSearchForm.php b/frontend/modules/api/models/ProfileSearchForm.php index b3033d4..49a9652 100644 --- a/frontend/modules/api/models/ProfileSearchForm.php +++ b/frontend/modules/api/models/ProfileSearchForm.php @@ -71,10 +71,10 @@ class ProfileSearchForm extends Model $model->joinWith('achievements'); -// $model->andFilterWhere(['position_id' => $this->position_id]); -// -// $model->andWhere(['status' => [4, 12]]); -// $model->andWhere(['deleted_at' => null]); + $model->andFilterWhere(['position_id' => $this->position_id]); + + $model->andWhere(['status' => [4, 12]]); + $model->andWhere(['deleted_at' => null]); $model->groupBy('card_skill.card_id');