1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-09 17:46:31 +02:00

Add paging

Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
Marco Dickert
2020-09-22 19:53:58 +02:00
parent adeccb6683
commit 483de4c6fd
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.paging,
pageLength: 50,
info: false,
autoWidth: false,
columnDefs: [

View File

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