MDL-30472 Course Making user lists sortable when lastacess field is hidden
This commit is contained in:
committed by
Ankit Kumar Agarwal
parent
f89a83b87b
commit
1b80a50418
@@ -351,6 +351,8 @@
|
||||
|
||||
if (!isset($hiddenfields['lastaccess'])) {
|
||||
$table->sortable(true, 'lastaccess', SORT_DESC);
|
||||
} else {
|
||||
$table->sortable(true, 'firstname', SORT_ASC);
|
||||
}
|
||||
|
||||
$table->no_sorting('roles');
|
||||
|
||||
Reference in New Issue
Block a user