Thread (8 messages) flat view 8 messages, 3 authors, 2011-07-26
STALE5490d

[PATCH obexd] Show owner vcard in phonebook pb pull

From: Radoslaw Jablonski <hidden>
Date: 2011-07-20 09:58:24
Subsystem: the rest · Maintainer: Linus Torvalds

Previously 'owner' vcard was visible in vcardlisting of 'pb'
but not in result of pull 'pb' phonebook.
Due to that, vcardlisting and pull operations were returning
different number of results(also return values of PhonebookSize
request were inconsistent)
---
 plugins/phonebook-tracker.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index d1f4cd7..29dd05c 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -139,7 +139,6 @@
 "WHERE {"								\
 "	?_contact a nco:PersonContact ."				\
 "	OPTIONAL {?_contact nco:hasAffiliation ?_role .}"		\
-"	FILTER (regex(str(?_contact), \"urn:uuid:\"))"			\
 "}"									\
 "ORDER BY tracker:id(?_contact)"
 
@@ -361,7 +360,6 @@ COMBINED_CONSTRAINT		\
 	"SELECT COUNT(?c) "						\
 	"WHERE {"							\
 		"?c a nco:PersonContact ."				\
-		"FILTER (regex(str(?c), \"urn:uuid:\"))"		\
 	"}"
 
 #define MISSED_CALLS_COUNT_QUERY					\
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help