summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-07-18 01:37:10 +0200
committerSebastian Reichel <sre@ring0.de>2018-07-20 23:41:34 +0200
commit095a6f9d4afd03b6a815582911cfb025d77069a3 (patch)
tree2ccce5def2cb101132f888939d7f0cdd9fb24607 /data
parent867fb84ffacbb02e44e2b6a511e61612dd2af3b1 (diff)
downloadserial-barcode-scanner-095a6f9d4afd03b6a815582911cfb025d77069a3.tar.bz2
datatables: fix pagination entries
Diffstat (limited to 'data')
-rw-r--r--data/templates/products/bestbefore.html2
-rw-r--r--data/templates/products/index.html2
-rw-r--r--data/templates/users/index.html2
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>