Merge branch 'MDL-49311-28' of git://github.com/lameze/moodle into MOODLE_28_STABLE
This commit is contained in:
+2
-2
@@ -381,8 +381,8 @@ $table->define_columns($tablecolumns);
|
||||
$table->define_headers($tableheaders);
|
||||
$table->define_baseurl($baseurl->out());
|
||||
|
||||
if (!isset($hiddenfields['lastcourseaccess'])) {
|
||||
$table->sortable(true, 'lastcourseaccess', SORT_DESC);
|
||||
if (!isset($hiddenfields['lastaccess'])) {
|
||||
$table->sortable(true, 'lastaccess', SORT_DESC);
|
||||
} else {
|
||||
$table->sortable(true, 'firstname', SORT_ASC);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user