Permalink
Browse files

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

…idden
  • Loading branch information...
1 parent 6508da4 commit a865f4315694fdad4dadb29def7c385df70ddbd9 @abias abias committed with ankitagarwal Dec 13, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 user/index.php
View
@@ -345,6 +345,8 @@
if (!isset($hiddenfields['lastaccess'])) {
$table->sortable(true, 'lastaccess', SORT_DESC);
+ } else {
+ $table->sortable(true, 'firstname', SORT_ASC);
}
$table->no_sorting('roles');

0 comments on commit a865f43

Please sign in to comment.