Commit 46df2bfd5900de73f63118f1be52e24a8ca59534

Authored by Андрей Ларионов
Exists in master

Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su

Showing 1 changed file 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);