summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-03 13:56:34 +0200
committerSimon Rettberg2017-04-03 13:56:34 +0200
commit136ba2c3736f8e5d47ebc4f8b5f44a16da57784c (patch)
tree26f7ecde944b32f9963093798aa2847006ea8076 /modules-available/statistics_reporting
parent[statistics_reporting] Convert NULL to 0 so stupidtable doesn't mess up (diff)
downloadslx-admin-136ba2c3736f8e5d47ebc4f8b5f44a16da57784c.tar.gz
slx-admin-136ba2c3736f8e5d47ebc4f8b5f44a16da57784c.tar.xz
slx-admin-136ba2c3736f8e5d47ebc4f8b5f44a16da57784c.zip
[statistics_reporting] Sort by first sortable column by default
Diffstat (limited to 'modules-available/statistics_reporting')
-rw-r--r--modules-available/statistics_reporting/templates/columnChooser.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/statistics_reporting/templates/columnChooser.html b/modules-available/statistics_reporting/templates/columnChooser.html
index f08daf1c..a5ac828b 100644
--- a/modules-available/statistics_reporting/templates/columnChooser.html
+++ b/modules-available/statistics_reporting/templates/columnChooser.html
@@ -150,6 +150,8 @@
updateColumn(box);
}
});
+
+ $('th[data-sort]').first().click();
});
function updateColumn(checkbox) {