projects
/
moodle-mod_attendance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b4d7b
)
Set default sort on atrisk page,
author
Dan Marsden
<dan@danmarsden.com>
Thu, 22 Jun 2017 22:43:17 +0000
(10:43 +1200)
committer
Dan Marsden
<dan@danmarsden.com>
Thu, 22 Jun 2017 22:43:17 +0000
(10:43 +1200)
atrisk.php
patch
|
blob
|
history
diff --git
a/atrisk.php
b/atrisk.php
index
0c5f54b
..
563acdf
100644
(file)
--- 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);