Skip to content

Commit

Permalink
Merge branch 'MDL-39068' of git://github.com/stronk7/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Apr 15, 2013
2 parents 823efce + d7ce8b1 commit 5f022c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions report/configlog/index.php
Expand Up @@ -99,6 +99,9 @@

if ($sort == 'firstname' or $sort == 'lastname') {
$orderby = "u.$sort $dir";
} else if ($sort == 'value' or $sort == 'oldvalue') {
// cross-db text-compatible sorting.
$orderby = $DB->sql_order_by_text("cl.$sort", 255) . ' ' . $dir;
} else {
$orderby = "cl.$sort $dir";
}
Expand Down

0 comments on commit 5f022c5

Please sign in to comment.