Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] Fix multiple phone numbers problem in vcard-listing
@ 2010-08-09 11:17 Radoslaw Jablonski
  2010-08-09 13:55 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Radoslaw Jablonski @ 2010-08-09 11:17 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Radoslaw Jablonski

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.
---
 plugins/phonebook-tracker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index 41d7fde..f2b9649 100644
--- a/plugins/phonebook-tracker.c
+++ b/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) "			\
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-09 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-09 11:17 [PATCH 1/2] Fix multiple phone numbers problem in vcard-listing Radoslaw Jablonski
2010-08-09 13:55 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox