From eff79df39a5a4b47a4545a78e5cb8765aa3fdb50 Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Sat, 13 Apr 2024 18:19:09 +0100 Subject: [PATCH] Update customers.tpl add length Menu 5, 10, 25, 50, 100 and All, as suggested by one of our member and also use 5 as default page length to make the page fit the screen when loaded --- ui/ui/customers.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/ui/customers.tpl b/ui/ui/customers.tpl index 4926ee92..fd4d6c76 100644 --- a/ui/ui/customers.tpl +++ b/ui/ui/customers.tpl @@ -106,7 +106,9 @@ $j(document).ready(function () { $j('#customerTable').DataTable({ - "pagingType": "full_numbers" + "pagingType": "full_numbers", + "lengthMenu": [ [5, 10, 25, 50, 100, -1], [5, 10, 25, 50, 100, "All"] ], + "pageLength": 5 }); });