Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
1.1.2
-
None
Description
Tried the code below
ContactModel{ id:contactModel; sortOrders: [ SortOrder { blankPolicy: SortOrder.BlanksLast detail:ContactDetail.Name field:Name.FirstName direction:Qt.AscendingOrder }, SortOrder { detail:ContactDetail.Favorite field:Favorite direction:Qt.AscendingOrder } ] }
to filter the favorite contacts on top of the list view, but it doesnt work.
Also,
the property model.contact.favorite doesnt seem to be work either.
Image{
anchors{right:parent.right; rightMargin: 10;verticalCenter: parent.verticalCenter}
width: 40;height: 40;
visible: model.contact.favorite.favorite
source: "../../pics/favourite.svg"
}
Please suggest if it is wrong way of doing it or it is a bug in Contacts mobility