Column COL_CDATE is never displayed, but it is used for sorting. Because
it is converted to readable string it is sorted by lexicographic order:

2 days ago
300 days ago
50 days ago
today
tomorrow
yesterday

Since COL_CDATE is not displayed, it does not have to be in readable form. This 
small patch removes to_readable_string() from the task date returned by func. 
on_get_value() for the column. It seems to fix the sorting problem.
I guess it would be possible to add a special column_id for sorting, but it 
seems unnecessary for now.

** Patch added: "sort.patch"
   http://launchpadlibrarian.net/42119609/sort.patch

-- 
sorting of finished tasks is buggy
https://bugs.launchpad.net/bugs/538643
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Triaged

Bug description:
When sorting finished tasks by their finished date, the sorting is buggy (as 
the order is neither ascending nor descending). This is version 0.2.4. I'm 
using a German locale, if that matters.

See attached screenshot



_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help   : https://help.launchpad.net/ListHelp

Reply via email to