From ddb8f38fb5c15e3fc5bd04800fd7c45b9e3d18fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Tue, 28 May 2024 19:41:44 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BC=D0=B8=D1=82=20=D0=BF=D0=BE?= =?UTF-8?q?=20=D1=80=D0=B5=D0=B4=D0=B8=D0=B7=D0=B0=D0=B9=D0=BD=D1=83=20=D0=B2?= =?UTF-8?q?=D0=B0=D0=BA=D0=B0=D0=BD=D1=81=D0=B8=D0=B9=20=D0=BE=D0=B1=D1=8A=D1?= =?UTF-8?q?=8F=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/WorkerController.php | 1 + app/Http/Requests/JobTitlesRequest.php | 6 +++++ resources/views/admin/job_titles/form.blade.php | 17 +++++++----- resources/views/ajax/list_vacancies.blade.php | 32 ++++++++++++++--------- resources/views/info_company_new.blade.php | 14 +++++----- resources/views/list_vacancies.blade.php | 21 ++++++++------- resources/views/vacance-item.blade.php | 21 ++++++++------- resources/views/workers/favorite.blade.php | 23 +++++++++------- 8 files changed, 81 insertions(+), 54 deletions(-) diff --git a/app/Http/Controllers/WorkerController.php b/app/Http/Controllers/WorkerController.php index 927a21b..ee14fa1 100644 --- a/app/Http/Controllers/WorkerController.php +++ b/app/Http/Controllers/WorkerController.php @@ -704,6 +704,7 @@ class WorkerController extends Controller $Query = $Query->OrderBy('updated_at')->paginate(3); + return view('workers.favorite', compact('Query', 'Query_count', 'Job_title')); diff --git a/app/Http/Requests/JobTitlesRequest.php b/app/Http/Requests/JobTitlesRequest.php index e8edb01..187ed0d 100644 --- a/app/Http/Requests/JobTitlesRequest.php +++ b/app/Http/Requests/JobTitlesRequest.php @@ -34,6 +34,12 @@ class JobTitlesRequest extends FormRequest 'min:0', 'max:9999999', ], + 'sort' => [ + 'numeric', + 'min:0', + 'max:9999999', + ] + ]; } diff --git a/resources/views/admin/job_titles/form.blade.php b/resources/views/admin/job_titles/form.blade.php index 94246d1..d15c952 100644 --- a/resources/views/admin/job_titles/form.blade.php +++ b/resources/views/admin/job_titles/form.blade.php @@ -45,13 +45,18 @@ @php $sort_num = 100; @endphp -