Permalink
Browse files

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

…idden
  • Loading branch information...
1 parent acb3bf8 commit 423dc3b17e0ed8c9411e066c5e9d23648fc47b25 @abias abias committed with ankitagarwal Dec 13, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 user/index.php
View
@@ -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');

0 comments on commit 423dc3b

Please sign in to comment.