This commit is contained in:
Naomi 2013-08-01 17:10:04 -04:00
parent 2341b7b68c
commit af38d3cb02
1 changed files with 4 additions and 4 deletions

View File

@ -201,15 +201,15 @@ class Application_Service_HistoryService
$sortDir = $opts["sSortDir_".$i];
if (in_array($key, $required)) {
$orderBys[] = "history_range.{$key} {$sortDir}";
}
else if (in_array($key, $filemd_keys)) {
$orderBys[] = "file_info.{$key} {$sortDir}";
}
else if (in_array($key, $general_keys)) {
$orderBys[] = "{$key}_filter.{$key} {$sortDir}";
}
else {
@ -221,7 +221,7 @@ class Application_Service_HistoryService
$orders = join(", ", $orderBys);
$mainSqlQuery.=
$mainSqlQuery.=
" ORDER BY {$orders}";
}