Commit 991b33020ce5596a56ee73e2ae6aa69b6755794c
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/EmployerController.php
... | ... | @@ -618,7 +618,7 @@ class EmployerController extends Controller |
618 | 618 | |
619 | 619 | // Данные |
620 | 620 | $users = $users->Baseuser()-> |
621 | - orderBy(Worker::select('position_work')->whereColumn('Workers.user_id', 'users.id')); | |
621 | + orderBy(Worker::select('position_work')->whereColumn('workers.user_id', 'users.id')); | |
622 | 622 | $count_users = $users; |
623 | 623 | $users = $users->paginate(5); |
624 | 624 |
app/Http/Controllers/WorkerController.php
... | ... | @@ -111,12 +111,12 @@ class WorkerController extends Controller |
111 | 111 | switch ($sort) { |
112 | 112 | case 'name_up': |
113 | 113 | $resumes = $resumes->orderBy(User::select('surname') |
114 | - ->whereColumn('Workers.user_id', 'users.id') | |
114 | + ->whereColumn('workers.user_id', 'users.id') | |
115 | 115 | ); |
116 | 116 | break; |
117 | 117 | case 'name_down': |
118 | 118 | $resumes = $resumes->orderByDesc(User::select('surname') |
119 | - ->whereColumn('Workers.user_id', 'users.id') | |
119 | + ->whereColumn('workers.user_id', 'users.id') | |
120 | 120 | ); |
121 | 121 | break; |
122 | 122 | case 'created_at_up': |