From: Adam D. Barratt Date: Thu, 14 Nov 2019 20:49:09 +0000 (+0000) Subject: Disable paging in DataTables X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=27194c8eb41f2b5a0262a631c4db4d82a0870ace Disable paging in DataTables This brings the functionality more in line with the previous incarnation. The configuration for the paging functionality is left in place to make it simpler to enable / disable as desired, and potentially allow users the option at some future point. Signed-off-by: Adam D. Barratt --- diff --git a/html/debdb.js b/html/debdb.js index 936c7c6..b12772a 100644 --- a/html/debdb.js +++ b/html/debdb.js @@ -12,6 +12,7 @@ $(document).ready(function() { var table = $("#machines").DataTable({ orderCellsTop: true, + paging: false, pageLength: 25, lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]] });