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

Contacts sorting is not completely defined

XMLWordPrintable

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

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes