diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php index 0517707..aa255a3 100644 --- a/app/Http/Controllers/EmployerController.php +++ b/app/Http/Controllers/EmployerController.php @@ -228,7 +228,7 @@ class EmployerController extends Controller default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; } } else { - $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); + $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id'); } $vacancy_list = $vacancy_list->paginate(10);