From f8566a79c9428d34849dfa7fbe03e71907dca26d Mon Sep 17 00:00:00 2001 From: cuneytsenturk Date: Mon, 12 Nov 2018 17:09:56 +0300 Subject: [PATCH] close #622 Fixed: If the app use pagination, It not change title. --- resources/views/partials/admin/pagination.blade.php | 2 +- resources/views/partials/customer/pagination.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/admin/pagination.blade.php b/resources/views/partials/admin/pagination.blade.php index 395807023..db4c570d9 100644 --- a/resources/views/partials/admin/pagination.blade.php +++ b/resources/views/partials/admin/pagination.blade.php @@ -2,7 +2,7 @@ @if ($items->firstItem())
- {{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower(trans_choice('general.' . $type, 2))]) }} + {{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower((isset($title)) ? $title : trans_choice('general.' . $type, 2))]) }}
{!! $items->appends(request()->except('page'))->links() !!} diff --git a/resources/views/partials/customer/pagination.blade.php b/resources/views/partials/customer/pagination.blade.php index c229e97be..875e67e99 100644 --- a/resources/views/partials/customer/pagination.blade.php +++ b/resources/views/partials/customer/pagination.blade.php @@ -2,7 +2,7 @@ @if ($items->firstItem())
- {{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower(trans_choice('general.' . $type, 2))]) }} + {{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower((isset($title)) ? $title : trans_choice('general.' . $type, 2))]) }}
{!! $items->appends(request()->except('page'))->links() !!}