Commit 5a61789a9f8f926266c89f3b0c0f44580f359223

Authored by Сергей П
1 parent 3d041f3f09
Exists in master

правки

Showing 1 changed file with 2 additions and 2 deletions 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);