fix search profile

This commit is contained in:
andrey 2021-07-07 16:30:01 +03:00
parent b3979773b4
commit 0d113a60fd

View File

@ -65,8 +65,10 @@ class ProfileSearchForm extends Model
$model->with('skillValues');
}
$model->andWhere(['status' => [4, 12]]);
return $model->limit($this->limit)
->offset($this->offset)->asArray()->all();
->offset($this->offset)->orderBy('id DESC')->asArray()->all();
}
}