Bug 308290 - Contact not sorted by status
Summary: Contact not sorted by status
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist-applet (show other bugs)
Version: git-latest
Platform: unspecified Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 11:25 UTC by Cédric Bellegarde
Modified: 2013-02-08 01:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Bellegarde 2012-10-12 11:25:38 UTC
Contact list plasmoid should sort contact by status by default.

Actually, contacts are just unsorted.

Reproducible: Always

Steps to Reproduce:
Add applets
Actual Results:  
Contact not sorted

Expected Results:  
Contact sorted by status

$ grep sortMode  ktp-contact-applet/org.kde.ktp.contactlist/contents/ui/ContactList.qml 
         contactList.filter.sortMode = KtpContactList.AccountsFilterModel.SortByPresence;

Seems this line is not working.
Comment 1 heena 2012-12-24 13:22:57 UTC
By default the list is sort by name ,to sort the contact list by presence that is availability click on the option (sort) adjacent to find contact option .



Cheers.
Comment 2 Martin Klapetek 2012-12-24 14:33:57 UTC
The original report is for the contact list plasmoid, which does not provide any options...yet ;)
Comment 3 Aleix Pol 2013-02-08 01:18:11 UTC
Git commit 154967b252db42d9c94bb73c3b61bce3979f1369 by Aleix Pol.
Committed on 08/02/2013 at 02:16.
Pushed by apol into branch 'master'.

Properly set what we're sorting by, after the changes in common-internals

Use the brand new sortRoleString property

Reviewed by David Edmundson

M  +1    -1    contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml

http://commits.kde.org/telepathy-contact-applet/154967b252db42d9c94bb73c3b61bce3979f1369