From daf1507c4655cbfd74db83a146b52931162b4911 Mon Sep 17 00:00:00 2001 From: anazaryan Date: Thu, 19 Dec 2024 18:16:08 +0400 Subject: [PATCH] order vacancies on autolift --- app/Http/Controllers/EmployerController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php index 00554fd..02c4b7c 100644 --- a/app/Http/Controllers/EmployerController.php +++ b/app/Http/Controllers/EmployerController.php @@ -823,6 +823,7 @@ class EmployerController extends Controller ->ads() ->where('is_remove', 0) ->where('active_is', 1) + ->orderBy('id', 'desc') ->get(); $options = $employer->autoliftOptions ?? new EmployerAutoliftOption(); -- 1.7.10.4