commit:     d4c309a69808b12c6e70532b6b295bf0d1b4d5e4
Author:     Max Magorsch <arzano <AT> gentoo <DOT> org>
AuthorDate: Thu May  7 21:00:14 2020 +0000
Commit:     Max Magorsch <arzano <AT> gentoo <DOT> org>
CommitDate: Thu May  7 21:00:14 2020 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=d4c309a6

Add an option to show all entries in the datatable

Signed-off-by: Max Magorsch <arzano <AT> gentoo.org>

 html/stats.jinja2 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/html/stats.jinja2 b/html/stats.jinja2
index 9596930..22fb50d 100644
--- a/html/stats.jinja2
+++ b/html/stats.jinja2
@@ -307,6 +307,7 @@
       $('#table_id').DataTable({
         "autoWidth": true,
         "iDisplayLength": 25,
+        "lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
         // TODO Group by Region in future
         // rowGroup: {
         //   dataSrc: 1

Reply via email to