diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-07-18 01:37:10 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2018-07-20 23:41:34 +0200 |
commit | 095a6f9d4afd03b6a815582911cfb025d77069a3 (patch) | |
tree | 2ccce5def2cb101132f888939d7f0cdd9fb24607 /data | |
parent | 867fb84ffacbb02e44e2b6a511e61612dd2af3b1 (diff) | |
download | serial-barcode-scanner-095a6f9d4afd03b6a815582911cfb025d77069a3.tar.bz2 |
datatables: fix pagination entries
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/products/bestbefore.html | 2 | ||||
-rw-r--r-- | data/templates/products/index.html | 2 | ||||
-rw-r--r-- | data/templates/users/index.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/products/bestbefore.html b/data/templates/products/bestbefore.html index 721ea9d..b5451a4 100644 --- a/data/templates/products/bestbefore.html +++ b/data/templates/products/bestbefore.html @@ -9,6 +9,6 @@ <script type="text/javascript"> $(document).ready(function() { - $('#producttable').DataTable(); + $('#producttable').DataTable({"lengthMenu": [ [25, 50, 100, -1], [25, 50, 100, "All"] ] }); } ); </script> diff --git a/data/templates/products/index.html b/data/templates/products/index.html index 38d9909..8ece21a 100644 --- a/data/templates/products/index.html +++ b/data/templates/products/index.html @@ -27,6 +27,6 @@ <script type="text/javascript"> $(document).ready(function() { - $('#producttable').DataTable(); + $('#producttable').DataTable({"lengthMenu": [ [25, 50, 100, -1], [25, 50, 100, "All"] ] }); } ); </script> diff --git a/data/templates/users/index.html b/data/templates/users/index.html index 71eccf9..2168e62 100644 --- a/data/templates/users/index.html +++ b/data/templates/users/index.html @@ -9,6 +9,6 @@ <script type="text/javascript"> $(document).ready(function() { - $('#usertable').DataTable(); + $('#usertable').DataTable({"lengthMenu": [ [25, 50, 100, -1], [25, 50, 100, "All"] ] }); } ); </script> |