Bug Fix - timesheet

- The timesheet report was being sorted as though the 'end' date was
  not being considered a date, but simply a string.
This commit is contained in:
Paul Beckingham 2009-11-18 20:28:25 -05:00
parent b2fc4969b9
commit 549e700bc8
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
------ current release --------------------------- ------ current release ---------------------------
1.8.5 () 1.8.5 ()
+ Fixed bug that was causing the 'completed' report to sort incorrectly.
------ old releases ------------------------------ ------ old releases ------------------------------

View file

@ -474,7 +474,7 @@ int runCustomReport (
Table::descendingPriority)); Table::descendingPriority));
else if (column == "entry" || column == "start" || column == "due" || else if (column == "entry" || column == "start" || column == "due" ||
column == "wait") column == "wait" || column == "until" || column == "end")
table.sortOn (columnIndex[column], table.sortOn (columnIndex[column],
(direction == '+' ? (direction == '+' ?
Table::ascendingDate : Table::ascendingDate :