From 118db849ced6878d5b5ea4045ca9867b322441a5 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 14 Nov 2016 12:47:10 +0100 Subject: [PATCH] Add option to show *all* queries at once --- js/pihole/queries.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/pihole/queries.js b/js/pihole/queries.js index d13008dc..aadd3912 100644 --- a/js/pihole/queries.js +++ b/js/pihole/queries.js @@ -18,10 +18,11 @@ $(document).ready(function() { { "width" : "40%" }, { "width" : "15%" }, { "width" : "15%" } - ] + ], + "lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], }) } ); function refreshData() { tableApi.ajax.url("api.php?getAllQueries").load(); -} \ No newline at end of file +}