Closed Bug 913183 Opened 12 years ago Closed 8 years ago

contacts without name are not sorted correctly

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(b2g-v2.2 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.2 --- affected

People

(Reporter: bkelly, Unassigned)

References

Details

Currently if a contact does not have a last or first name (depending on the sort setting), you will often have them appear in the wrong order. This occurs because the app relies on mozContacts to perform the sorting, which is only done on the name. After the app performs normalization to show the org or email as the name, it does not apply any additional sort logic to find the right place in the list. To reproduce create contacts with the following values: 1) Family Name: AAA 2) Family Name: AZZ 3) Email: amazing@example.com Close and kill the app after creating these contacts. When the app is reopened the sort order should be 1, 3, 2. Instead you will probably see either 3, 1, 2 or 1, 2, 3. One possible solution would be to have mozContacts sort on the normalized name which would require bug 909948. Alternatively, the app could perform its own insertion sort after normalization.
Still happening in 2.2.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.