diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php index 1c70fd2..20f97da 100644 --- a/app/Http/Controllers/EmployerController.php +++ b/app/Http/Controllers/EmployerController.php @@ -226,8 +226,11 @@ class EmployerController extends Controller case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break; default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; } + } else { + $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); } - $vacancy_list = $vacancy_list->paginate(4); + + $vacancy_list = $vacancy_list->paginate(10); //ajax if ($request->ajax()) { diff --git a/public/css/style_may2024.css b/public/css/style_may2024.css index f2b5603..7e13831 100644 --- a/public/css/style_may2024.css +++ b/public/css/style_may2024.css @@ -3446,6 +3446,9 @@ h1 { line-height: 1.4; width: 190px; } +.main__employer-page-item.main__employer-page-description{ + width: unset; +} @media (min-width: 768px) { .main__employer-page-item { font-size: 18px; diff --git a/public/index.php b/public/index.php index 1d69f3a..46d8c08 100644 --- a/public/index.php +++ b/public/index.php @@ -2,6 +2,7 @@ use Illuminate\Contracts\Http\Kernel; use Illuminate\Http\Request; +use Symfony\Component\VarDumper\VarDumper; define('LARAVEL_START', microtime(true)); @@ -53,3 +54,16 @@ $response = $kernel->handle( )->send(); $kernel->terminate($request, $response); + + +function d(...$vars): void +{ + if (!in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && !headers_sent()) { + header('HTTP/1.1 500 Internal Server Error'); + } + + foreach ($vars as $v) { + VarDumper::dump($v); + } +} + diff --git a/resources/views/info_company_new.blade.php b/resources/views/info_company_new.blade.php index 27811b8..40d4634 100644 --- a/resources/views/info_company_new.blade.php +++ b/resources/views/info_company_new.blade.php @@ -175,7 +175,7 @@ -