fix search profile
This commit is contained in:
parent
b3979773b4
commit
0d113a60fd
@ -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();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user