diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php
index c004fea..fc8ea91 100644
--- a/app/Http/Controllers/EmployerController.php
+++ b/app/Http/Controllers/EmployerController.php
@@ -583,7 +583,21 @@ class EmployerController extends Controller
// База данных
public function bd(Request $request) {
- $users = User_Model::query()->with('workers');
+ for ($i = 0; $i < 5; $i++) {
+ echo "i = $i\n
";
+ for ($j = 0; $j < 5; $j++) {
+ echo " j = $j\n
";
+ for ($k = 0; $k < 5; $k++) {
+ if ($k == 2) {
+ continue;
+ }
+ echo " k = $k\n
";
+ }
+ }
+ }
+
+ dd('OK');
+ $users = User_Model::query()->with('workers')->with('jobtitles');
if ($request->has('search')) {
$find_key = $request->get('search');
diff --git a/app/Http/Controllers/MainController.php b/app/Http/Controllers/MainController.php
index 2679956..401d272 100644
--- a/app/Http/Controllers/MainController.php
+++ b/app/Http/Controllers/MainController.php
@@ -40,7 +40,7 @@ class MainController extends Controller
->get();
$Job_title = Job_title::query()->where('is_remove', '=', '0')->
- where('is_bd', '=', '0')->orderBy('name')->get();
+ where('is_bd', '=', '0')->orderByDesc('sort')->get();
$Data = DB::table('job_titles')->
selectRaw('job_titles.name as jn, count(`ad_jobs`.`job_title_id`) as cnt, job_titles.id as id_job, categories.name as catname, categories.id as id_cat')->
diff --git a/resources/views/education/show.blade.php b/resources/views/education/show.blade.php
index 631996f..87cff93 100644
--- a/resources/views/education/show.blade.php
+++ b/resources/views/education/show.blade.php
@@ -47,7 +47,7 @@