close #1003 Fixed: Pagination limit change feature not working

This commit is contained in:
Cüneyt Şentürk
2019-12-16 17:22:34 +03:00
parent d2b78e27c7
commit c33a72d92b
2 changed files with 40 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<span class="table-text hidden-lg">
{{ trans('general.show') }}
</span>
{!! Form::select('limit', $limits, request('limit', setting('default.list_limit', '25')), ['class' => 'form-control form-control-sm table-header-search hidden-md', 'onchange' => 'this.form.submit()']) !!}
{!! Form::select('limit', $limits, request('limit', setting('default.list_limit', '25')), ['class' => 'form-control form-control-sm table-header-search hidden-md', '@change' => 'onChangePaginationLimit($event)']) !!}
<span class="table-text hidden-lg">
{{ trans('pagination.page') }}
{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower((isset($title)) ? $title : trans_choice('general.' . $type, 2))]) }}