File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ This package is to displaying the model data in a Grid table.
2626
2727Run the composer command:
2828
29- ` composer require itstructure/laravel-grid-view "~1.0.11 " `
29+ ` composer require itstructure/laravel-grid-view "~1.0.12 " `
3030
3131### If you are testing this package from a local server directory
3232
@@ -467,6 +467,6 @@ $gridData = [
467467
468468## License
469469
470- Copyright © 2020-2023 Andrey Girnik girnikandrey@gmail.com .
470+ Copyright © 2020-2024 Andrey Girnik girnikandrey@gmail.com .
471471
472472Licensed under the [ MIT license] ( http://opensource.org/licenses/MIT ) . See LICENSE.txt for details.
Original file line number Diff line number Diff line change 11### CHANGE LOG:
22
3+ ** 1.0.12 January 03, 2024**
4+ - Bug fix for showing pagination page totals.
5+
36** 1.0.11 February 18, 2023:**
47- Add support for Laravel 10
58
Original file line number Diff line number Diff line change 1818 @if ($paginator -> onFirstPage () )
1919 {!! trans (' grid_view::grid.page-info' , [
2020 ' start' => ' <b>1</b>' ,
21- ' end' => ' <b>' . $paginator -> perPage () . ' </b>' ,
21+ ' end' => ' <b>' . min ( $paginator -> perPage (), $paginator -> total () ) . ' </b>' ,
2222 ' total' => ' <b>' . $paginator -> total () . ' </b>' ,
2323 ]) ! !}
2424 @elseif ($paginator -> currentPage () == $paginator -> lastPage () )
You can’t perform that action at this time.
0 commit comments