diff --git a/frontend/modules/api/models/ProfileSearchForm.php b/frontend/modules/api/models/ProfileSearchForm.php index e566b73..52a85af 100644 --- a/frontend/modules/api/models/ProfileSearchForm.php +++ b/frontend/modules/api/models/ProfileSearchForm.php @@ -66,6 +66,7 @@ class ProfileSearchForm extends Model } $model->andWhere(['status' => [4, 12]]); + $model->andWhere(['deleted_at' => null]); return $model->limit($this->limit) ->offset($this->offset)->orderBy('id DESC')->asArray()->all();