Permalink
Browse files

FIxed bug 1607 - user sorting

  • Loading branch information...
1 parent 94826e8 commit 60d17e47a054644e8c6c95fd3d23cbb8fefe3294 moodler committed Jul 2, 2004
Showing with 3 additions and 3 deletions.
  1. +3 −3 admin/user.php
View
@@ -181,11 +181,11 @@
$columndir = "ASC";
}
} else {
- $columndir = $dir == "asc" ? "desc":"asc";
+ $columndir = $dir == "ASC" ? "DESC":"ASC";
if ($column == "lastaccess") {
- $columnicon = $dir == "asc" ? "up":"down";
+ $columnicon = $dir == "ASC" ? "up":"down";
} else {
- $columnicon = $dir == "asc" ? "down":"up";
+ $columnicon = $dir == "ASC" ? "down":"up";
}
$columnicon = " <img src=\"$CFG->pixpath/t/$columnicon.gif\" />";

0 comments on commit 60d17e4

Please sign in to comment.