Thread (2 messages) 2 messages, 2 authors, 2011-03-08
STALE5621d

[PATCH] Adjust prefix of contact id for getting pb size

From: Rafal Michalski <hidden>
Date: 2011-02-28 13:53:43
Subsystem: the rest · Maintainer: Linus Torvalds

Getting phonebook size is related to recognizing contacts by their id
prefixes. Previously it was "contact: " and has been changed to
"urn:uuid:". This patch fixes it and allows to get valid phonebook size.
---
 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 b204493..99848e3 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -809,7 +809,7 @@
 	"SELECT COUNT(?c) "						\
 	"WHERE {"							\
 		"?c a nco:PersonContact ."				\
-		"FILTER (regex(str(?c), \"contact:\"))"			\
+		"FILTER (regex(str(?c), \"urn:uuid:\"))"		\
 	"}"
 
 #define MISSED_CALLS_COUNT_QUERY					\
-- 
1.6.3.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help