Skip to content
Browse files

Merge branch 'MDL-39068_23' of git://github.com/stronk7/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
2 parents c7ed914 + d844777 commit f7f4494fb7863d9595dfc448bb5d46cc70a061c1 @damyon damyon committed Apr 15, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 report/configlog/index.php
View
3 report/configlog/index.php
@@ -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";
}

0 comments on commit f7f4494

Please sign in to comment.
Something went wrong with that request. Please try again.