Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1771

Contacts sorting is not completely defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 1.2.x
    • Contacts
    • None

    Description

      QContactSortOrder allows sorting over any detail. However, the order when filtering on a multi valued detail (say, QContactPhoneNumber::PhoneNumber) is not defined. Looking at the code, it appears mobility uses the QContactDetail::detail<DefinitionName>() method, which fetches the first detail available. The order of the details returned by QContact::details() is not defined, so sorting can't be reliable on multi valued details.

      Attachments

        Activity

          People

            djcb Dirk-Jan C. Binnema
            abustany Adrien Bustany
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: