Commit 79b9c13abfc4a2a5cfb24ad48cd1c86f9d8bb9bc
Exists in
master
Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su
Showing 2 changed files Side-by-side Diff
app/Http/Controllers/WorkerController.php
... | ... | @@ -95,10 +95,12 @@ class WorkerController extends Controller |
95 | 95 | }); |
96 | 96 | } |
97 | 97 | |
98 | - $Job_title = Job_title::query()-> | |
99 | - where('is_remove', '=', '0')-> | |
100 | - where('is_bd', '=' , '1')-> | |
101 | - get(); | |
98 | + $Job_title = Job_title::query() | |
99 | + ->where('is_remove', '=', '0') | |
100 | + ->where('is_bd', '=' , '1') | |
101 | + ->orderByDesc('sort') | |
102 | + ->get() | |
103 | + ; | |
102 | 104 | |
103 | 105 | if ($request->get('sort')) { |
104 | 106 | $sort = $request->get('sort'); |
resources/views/employers/bd.blade.php