From 549e700bc86df8a84c70e103c131abd7e9e30448 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 18 Nov 2009 20:28:25 -0500 Subject: [PATCH] Bug Fix - timesheet - The timesheet report was being sorted as though the 'end' date was not being considered a date, but simply a string. --- ChangeLog | 1 + src/custom.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ee6a1aaf..308690ed6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ ------ current release --------------------------- 1.8.5 () + + Fixed bug that was causing the 'completed' report to sort incorrectly. ------ old releases ------------------------------ diff --git a/src/custom.cpp b/src/custom.cpp index 8426b2279..7c9e73d61 100644 --- a/src/custom.cpp +++ b/src/custom.cpp @@ -474,7 +474,7 @@ int runCustomReport ( Table::descendingPriority)); else if (column == "entry" || column == "start" || column == "due" || - column == "wait") + column == "wait" || column == "until" || column == "end") table.sortOn (columnIndex[column], (direction == '+' ? Table::ascendingDate :