Skip to content

Commit

Permalink
Merge branch 'MDL-49311-master' of git://github.com/lameze/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols authored and danpoltawski committed Apr 24, 2015
2 parents 0264bb1 + 28d27e8 commit b083e0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/index.php
Expand Up @@ -375,8 +375,8 @@
$table->define_headers($tableheaders);
$table->define_baseurl($baseurl->out());

if (!isset($hiddenfields['lastcourseaccess'])) {
$table->sortable(true, 'lastcourseaccess', SORT_DESC);
if (!isset($hiddenfields['lastaccess'])) {
$table->sortable(true, 'lastaccess', SORT_DESC);
} else {
$table->sortable(true, 'firstname', SORT_ASC);
}
Expand Down

0 comments on commit b083e0f

Please sign in to comment.