Skip to content

Commit 8b946a8

Browse files
Fix bs5: custom pagination (#1779)
1 parent 382152b commit 8b946a8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

resources/views/components/frameworks/bootstrap5/footer.blade.php

+12-1
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,23 @@ class="form-select {{ theme_style($theme, 'footer.select') }}"
3333
</div>
3434
<div class="col-auto overflow-auto mt-2 mt-sm-0">
3535
@if (method_exists($data, 'links'))
36-
{!! $data->links(data_get($setUp, 'footer.pagination') ?: data_get($theme, 'root') . '.pagination', [
36+
{!! $data->links(data_get($theme, 'root') . '.pagination', [
3737
'recordCount' => data_get($setUp, 'footer.recordCount'),
3838
]) !!}
3939
@endif
4040
</div>
4141
</footer>
4242
@endif
43+
44+
@if (filled(data_get($setUp, 'footer.pagination')))
45+
<footer>
46+
@if (method_exists($data, 'links'))
47+
{!! $data->links(data_get($setUp, 'footer.pagination'), [
48+
'recordCount' => data_get($setUp, 'footer.recordCount'),
49+
]) !!}
50+
@endif
51+
</footer>
52+
@endif
53+
4354
@includeIf(data_get($setUp, 'footer.includeViewOnBottom'))
4455
</div>

0 commit comments

Comments
 (0)