Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…idden
  • Loading branch information...
commit a865f4315694fdad4dadb29def7c385df70ddbd9 1 parent 6508da4
@abias abias authored ankitagarwal committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  user/index.php
View
2  user/index.php
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.