[PATCH obexd 2/2] PBAP/Tracker: Fix searching vCards by phone number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Originally only one of contact's phone numbers was stored in cache,
rendering searching by phone numbers not fully functional.
---
 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 d358c9f..7ac02f6 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -167,7 +167,7 @@
 			"} "						\
 		"} "							\
 	") "								\
-	"nco:phoneNumber(?h) "						\
+	"GROUP_CONCAT(nco:phoneNumber(?h), \"" MAIN_DELIM "\") "	\
 	"WHERE { "							\
 		"?c a nco:PersonContact . "				\
 	"OPTIONAL { ?c nco:hasPhoneNumber ?h . } "			\
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux