Commit 6761e1eaa38bbaef7f3581c9cb4f749ccfe81d7d
Exists in
master
Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su
Showing 1 changed file Side-by-side Diff
resources/views/admin/employer_main/index.blade.php
... | ... | @@ -43,7 +43,7 @@ |
43 | 43 | url: "{{ route('admin.employers-main-remove')}}", |
44 | 44 | data: { |
45 | 45 | id: id, |
46 | - page: {{ $page }} | |
46 | + page: {{ $page ?? 1 }} | |
47 | 47 | }, |
48 | 48 | success: function (data) { |
49 | 49 | $('#ajax_block').html(data); |
... | ... | @@ -69,7 +69,7 @@ |
69 | 69 | type: "POST", |
70 | 70 | url: "{{ route('admin.employers-main-add')}}", |
71 | 71 | data:{ |
72 | - page: {{ $page }} | |
72 | + page: {{ $page ?? 1 }} | |
73 | 73 | }, |
74 | 74 | success: function (data) { |
75 | 75 | spinStop(this_btn); |