From 1b80a504182f728e3d8461e63b7b6891c64b888b Mon Sep 17 00:00:00 2001 From: Alexnader Bias Date: Tue, 13 Dec 2011 10:47:43 +0530 Subject: [PATCH] MDL-30472 Course Making user lists sortable when lastacess field is hidden --- user/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user/index.php b/user/index.php index 972364d897d..5954571e336 100644 --- a/user/index.php +++ b/user/index.php @@ -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'); -- 2.43.0