Commit bc7734c9bb4d74808527b4ca7b85de6fd15c925e
Exists in
master
Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su
Showing 4 changed files Side-by-side Diff
app/Http/Controllers/EmployerController.php
... | ... | @@ -226,8 +226,11 @@ class EmployerController extends Controller |
226 | 226 | case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break; |
227 | 227 | default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; |
228 | 228 | } |
229 | + } else { | |
230 | + $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); | |
229 | 231 | } |
230 | - $vacancy_list = $vacancy_list->paginate(4); | |
232 | + | |
233 | + $vacancy_list = $vacancy_list->paginate(10); | |
231 | 234 | |
232 | 235 | //ajax |
233 | 236 | if ($request->ajax()) { |
public/css/style_may2024.css
public/index.php
... | ... | @@ -2,6 +2,7 @@ |
2 | 2 | |
3 | 3 | use Illuminate\Contracts\Http\Kernel; |
4 | 4 | use Illuminate\Http\Request; |
5 | +use Symfony\Component\VarDumper\VarDumper; | |
5 | 6 | |
6 | 7 | define('LARAVEL_START', microtime(true)); |
7 | 8 | |
... | ... | @@ -53,3 +54,16 @@ $response = $kernel->handle( |
53 | 54 | )->send(); |
54 | 55 | |
55 | 56 | $kernel->terminate($request, $response); |
57 | + | |
58 | + | |
59 | +function d(...$vars): void | |
60 | +{ | |
61 | + if (!in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && !headers_sent()) { | |
62 | + header('HTTP/1.1 500 Internal Server Error'); | |
63 | + } | |
64 | + | |
65 | + foreach ($vars as $v) { | |
66 | + VarDumper::dump($v); | |
67 | + } | |
68 | +} | |
69 | + |
resources/views/info_company_new.blade.php