From e5018a74ef66d5e3de75f877e3bc26a86c1cc004 Mon Sep 17 00:00:00 2001 From: Radoslaw Jablonski Date: Mon, 9 Aug 2010 14:17:03 +0300 Subject: [PATCH] obexd: Fix multiple phone numbers problem in vcard-listing This fixes displaying problem in vcard-listing when contact had multiple home or work phone set(one contact was displayed more than one time in vcard-listing. Now query is changed and additional entries are omitted. --- obexd/plugins/phonebook-tracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c index 41d7fde90..f2b9649ab 100644 --- a/obexd/plugins/phonebook-tracker.c +++ b/obexd/plugins/phonebook-tracker.c @@ -76,7 +76,7 @@ "?c nco:hasAffiliation ?a . " \ "?a nco:hasPhoneNumber ?h . " \ "} " \ - "}" + "} GROUP BY ?c" #define MISSED_CALLS_QUERY \ "SELECT nco:phoneNumber(?h) nco:fullname(?c) " \ -- 2.47.3