search fix

This commit is contained in:
andrey
2021-08-05 14:08:00 +03:00
parent c522278222
commit 76377f5f1b
3 changed files with 11 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class ProfileSearchForm extends Model
$model->groupBy('card_skill.card_id');
return $model->limit($this->limit)
->offset($this->offset)->orderBy('id DESC')->asArray()->all();
->offset($this->offset)->orderBy('updated_at DESC')->asArray()->all();
}
}