Skip to content

Commit

Permalink
Sort by date, even on grouped time slices.
Browse files Browse the repository at this point in the history
We probably should implement a multi-level sorting which takes the currently
selected sort order into account, but for now this keeps the entries from being
in random order.
  • Loading branch information
yunosh committed Jan 2, 2014
1 parent e9be7b7 commit 108e01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hermes/lib/Api.php
Expand Up @@ -157,7 +157,7 @@ public static function getTableData($name, $params)
$time_data[$key]['_client_name'] = $row['client'];
}
if (!is_null($subtotal_column)) {
$column[$key] = $time_data[$key][$subtotal_column];
$column[$key] = $time_data[$key][$subtotal_column] . $time_data[$key]['date'];
}
}
if (!is_null($subtotal_column)) {
Expand Down

0 comments on commit 108e01e

Please sign in to comment.