From d89ddfa78beaaed1df23455ea47f411a8f3e138f Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Tue, 8 Jun 2010 15:08:02 -0300 Subject: [PATCH] obexd: Fix queries for incomming and outgoing folders --- obexd/plugins/phonebook-tracker.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c index 13e557d38..6c3d13a2a 100644 --- a/obexd/plugins/phonebook-tracker.c +++ b/obexd/plugins/phonebook-tracker.c @@ -139,8 +139,8 @@ "?call a nmo:Call ; " \ "nmo:from ?c ; " \ "nmo:isSent false . " \ - "?c a nco:Contact ; " \ - "OPTIONAL { ?c nco:hasPhoneNumber ?h . } " \ + "?c a nco:Contact . " \ + "OPTIONAL { ?c nco:hasPhoneNumber ?h . } " \ "} ORDER BY DESC(nmo:receivedDate(?call))" #define OUTGOING_CALLS_QUERY \ @@ -175,7 +175,7 @@ "nmo:to ?c ; " \ "nmo:isSent true . " \ "?c a nco:Contact . " \ - "OPTIONAL { nco:hasPhoneNumber ?h . } " \ + "OPTIONAL { ?c nco:hasPhoneNumber ?h . } " \ "} ORDER BY DESC(nmo:sentDate(?call))" #define COMBINED_CALLS_QUERY \ -- 2.47.3