[PATCH] Fix pulling phonebook entries without last name

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

 



This patch fix problem with pulling phonebook entries using PBAP without
last name filled. Previously last name was used to sort phonebook data
now only tracker id is used.
---
 plugins/phonebook-tracker.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index 9963aab..bc196b8 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -135,11 +135,10 @@
 "\"NOTACALL\" \"false\" \"false\" "					\
 "?_contact "								\
 "WHERE {"								\
-"	?_contact a nco:PersonContact ;"				\
-"	nco:nameFamily ?_key ."						\
+"	?_contact a nco:PersonContact ."				\
 "	OPTIONAL {?_contact nco:hasAffiliation ?_role .}"		\
 "}"									\
-"ORDER BY ?_key tracker:id(?_contact)"
+"ORDER BY tracker:id(?_contact)"
 
 #define CONTACTS_QUERY_ALL_LIST						\
 	"SELECT ?c nco:nameFamily(?c) "					\
-- 
1.7.0.4

--
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