We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f30566e + 96ec526 commit e05eaafCopy full SHA for e05eaaf
resources/views/includes/_pagination.blade.php
@@ -5,7 +5,7 @@
5
</div>
6
7
<div class="col text-right text-muted">
8
- {{ __('Showing :first to :last out of :total results', ['first' => $models->firstItem(), 'last' => $models->lastItem(), 'total' => $models->total()]) }}
+ {{ __('Showing :first to :last out of :total results', ['first' => $models->count() ? $models->firstItem() : 0, 'last' => $models->count() ? $models->lastItem() : 0, 'total' => $models->total()]) }}
9
10
11
@endif
0 commit comments