Commit f0c09cba9372fa68053de05cc23a8f170ca9fb23

Authored by Сергей П
1 parent 4c17f889d3
Exists in master

правки

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

app/Http/Controllers/EmployerController.php
... ... @@ -228,7 +228,7 @@ class EmployerController extends Controller
228 228 default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break;
229 229 }
230 230 } else {
231   - $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id');
  231 + $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id');
232 232 }
233 233  
234 234 $vacancy_list = $vacancy_list->paginate(10);