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:
@@ -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 ------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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 :
|
||||||
|
|||||||
Reference in New Issue
Block a user