Bug 276043

Summary: contacts should be sorted by birth date instead of formatted string
Product: [Applications] kaddressbook Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: anderslund, montel, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5

Description Alexander Potashev 2011-06-19 13:17:17 UTC
Version:           unspecified (using KDE 4.6.4) 
OS:                Linux

Contacts should be sorted by birth date instead of formatted string. Currently, if you choose to sort contacts by birth date, it firsly sorts by month, then by day of month and then by year. For example, "22.05.89" goes after "09.05.79" (I use Russian locale, the date format here is "DD.MM.YY").

Reproducible: Always
Comment 1 Anders Lund 2012-02-01 21:52:02 UTC
There appears to be no way to change the sortring at all these days. Maybe this should be closed?
Comment 2 Alexander Potashev 2012-02-01 21:57:50 UTC
Sorting can be changed by clicking on a column header in the table of contacts in KAddressBook.

I can still reproduce the bug on KDE SC 4.8.0.
Comment 3 Anders Lund 2012-02-01 22:15:17 UTC
Of course, I just only had/have the name column visible, and this is absolutely valid. Thanks :)
Comment 4 Laurent Montel 2012-07-07 14:31:38 UTC
Git commit 609a0b89001862755f31ac6d9cc9531b6885fa1b by Montel Laurent.
Committed on 07/07/2012 at 16:31.
Pushed by mlaurent into branch 'KDE/4.9'.

Fix Bug 276043 - contacts should be sorted by birth date instead of

formatted string

FIXED-IN: 4.8.5

M  +8    -5    akonadi/contact/contactsfilterproxymodel.cpp

http://commits.kde.org/kdepimlibs/609a0b89001862755f31ac6d9cc9531b6885fa1b
Comment 5 Laurent Montel 2012-07-07 14:32:11 UTC
Git commit 30d89546a189f61cb8846e9a281c62903e901ea3 by Montel Laurent.
Committed on 07/07/2012 at 16:31.
Pushed by mlaurent into branch 'KDE/4.8'.

Fix Bug 276043 - contacts should be sorted by birth date instead of

formatted string

FIXED-IN: 4.8.5
(cherry picked from commit 609a0b89001862755f31ac6d9cc9531b6885fa1b)

M  +8    -5    akonadi/contact/contactsfilterproxymodel.cpp

http://commits.kde.org/kdepimlibs/30d89546a189f61cb8846e9a281c62903e901ea3