Feature - sorting by age, age_compact

- Now supports correct sorting of the age and age_compact fields.
This commit is contained in:
Paul Beckingham
2010-06-27 19:31:08 -04:00
parent 7f99d39d19
commit 426eac97aa
2 changed files with 3 additions and 3 deletions

View File

@@ -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 :