From 181cd6234bbadf0e967f97ec22e32c8327b02102 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 23 Jun 2017 10:43:17 +1200 Subject: [PATCH] Set default sort on atrisk page, --- atrisk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atrisk.php b/atrisk.php index 0c5f54b..563acdf 100644 --- a/atrisk.php +++ b/atrisk.php @@ -32,7 +32,7 @@ require_once($CFG->libdir.'/coursecatlib.php'); $category = optional_param('category', 0, PARAM_INT); $attendancecm = optional_param('id', 0, PARAM_INT); $download = optional_param('download', '', PARAM_ALPHA); -$sort = optional_param('tsort', '', PARAM_ALPHA); +$sort = optional_param('tsort', 'timesent', PARAM_ALPHA); if (!empty($category)) { $context = context_coursecat::instance($category);