mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-01 11:20:19 +02:00
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:
parent
b2fc4969b9
commit
549e700bc8
2 changed files with 2 additions and 1 deletions
|
@ -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 :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue