1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-10 01:56:30 +02:00

Add pagination

Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
Marco Dickert
2020-09-22 19:46:13 +02:00
parent 829d1d4631
commit f456f1e955
2 changed files with 3 additions and 1 deletions

View File

@@ -214,7 +214,8 @@ function IFM(params) {
if( self.datatable ) self.datatable.destroy();
self.datatable = $('#filetable').DataTable({
paging: false,
paging: self.config.pagination,
pageLength: 50,
info: false,
autoWidth: false,
columnDefs: [

View File

@@ -43,6 +43,7 @@ class IFM {
"zipnload" => 1,
"createarchive" => 1,
"search" => 1,
"pagination" => 0,
// gui controls
"showlastmodified" => 0,