mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Use the max_results env value in the paginator
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3e2fe10480
commit
fcb81b9505
|
@ -51,7 +51,7 @@
|
|||
paginationLastText: "{{ trans('general.last') }}",
|
||||
paginationPreText: "{{ trans('general.previous') }}",
|
||||
paginationNextText: "{{ trans('general.next') }}",
|
||||
pageList: ['10','20', '30','50','100','150','200', '500', '1000'],
|
||||
pageList: ['10','20', '30','50','100','150','200', '500'{!! ((config('app.max_results') > 500) ? ",'".config('app.max_results')."'" : '') !!}],
|
||||
pageSize: {{ (($snipeSettings->per_page!='') && ($snipeSettings->per_page > 0)) ? $snipeSettings->per_page : 20 }},
|
||||
paginationVAlign: 'both',
|
||||
queryParams: function (params) {
|
||||
|
|
Loading…
Reference in a new issue