MDL-30472 Course Making user lists sortable when lastacess field is hidden

This commit is contained in:
Alexnader Bias
2011-12-13 10:47:43 +05:30
committed by Ankit Kumar Agarwal
parent f89a83b87b
commit 1b80a50418
+2
View File
@@ -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');