Skip to content

Commit

Permalink
MDL-30472 Course Making user lists sortable when lastacess field is h…
Browse files Browse the repository at this point in the history
…idden
  • Loading branch information
abias authored and ankitagarwal committed Dec 13, 2011
1 parent acb3bf8 commit 423dc3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user/index.php
Expand Up @@ -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');
Expand Down

0 comments on commit 423dc3b

Please sign in to comment.