diff --git a/ChangeLog b/ChangeLog index 5b100eab9..b127e0f7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -39,8 +39,8 @@ containing Unicode characters to fail (thanks to Michal Josífko). + Fixed bug #416, which caused sorting on a date to fail if the year was not included in the dateformat (thanks to Michelle Crane). - + Fixed bug #417, which caused sorting on countdown fields to be wrong - (thanks to Michell Crane). + + Fixed bug #417, which caused sorting on countdown and age fields to be + wrong (thanks to Michell Crane). + Fixed bug #418, which caused the attribute modifier 'due.before' to fail if the year was not included in the dateformat (thanks to Michelle Crane). + Fixed bug #132, which failed to set a sort order so that active tasks sort diff --git a/src/custom.cpp b/src/custom.cpp index 274d5505b..90853e00d 100644 --- a/src/custom.cpp +++ b/src/custom.cpp @@ -679,7 +679,7 @@ int runCustomReport ( Table::ascendingDueDate : Table::descendingDueDate)); - else if (column == "recur") + else if (column == "recur" || column == "age" || column == "age_compact") table.sortOn (columnIndex[column], (direction == '+' ? Table::ascendingPeriod :