Browse Source

Set default sort on atrisk page,

MOODLE_34_STABLE
Dan Marsden 8 years ago
parent
commit
5dec8e6cd1
  1. 2
      atrisk.php

2
atrisk.php

@ -32,7 +32,7 @@ require_once($CFG->libdir.'/coursecatlib.php');
$category = optional_param('category', 0, PARAM_INT); $category = optional_param('category', 0, PARAM_INT);
$attendancecm = optional_param('id', 0, PARAM_INT); $attendancecm = optional_param('id', 0, PARAM_INT);
$download = optional_param('download', '', PARAM_ALPHA); $download = optional_param('download', '', PARAM_ALPHA);
$sort = optional_param('tsort', '', PARAM_ALPHA); $sort = optional_param('tsort', 'timesent', PARAM_ALPHA);
if (!empty($category)) { if (!empty($category)) {
$context = context_coursecat::instance($category); $context = context_coursecat::instance($category);

Loading…
Cancel
Save