From 136ba2c3736f8e5d47ebc4f8b5f44a16da57784c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 3 Apr 2017 13:56:34 +0200 Subject: [statistics_reporting] Sort by first sortable column by default --- modules-available/statistics_reporting/templates/columnChooser.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules-available/statistics_reporting') 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) { -- cgit v1.2.3-55-g7522