Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89a83b
)
MDL-30472 Course Making user lists sortable when lastacess field is hidden
author
Alexnader Bias
<alexander.bias@uni-ulm.de>
Tue, 13 Dec 2011 05:17:43 +0000
(10:47 +0530)
committer
Ankit Kumar Agarwal
<ankit@moodle.com>
Tue, 13 Dec 2011 05:17:43 +0000
(10:47 +0530)
user/index.php
patch
|
blob
|
blame
|
history
diff --git
a/user/index.php
b/user/index.php
index
972364d
..
5954571
100644
(file)
--- 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');