From 69caa028c5540f2ba5ee732aaaeff4803075f3b9 Mon Sep 17 00:00:00 2001 From: Slawomir Bochenski Date: Tue, 24 May 2011 10:02:52 +0200 Subject: [PATCH] obexd: Fix fetching call history in parts This fixes doing a phone book pull on call history phone book, from specified offset and/or with specified limit. --- obexd/plugins/phonebook-tracker.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c index a20870e6c..1022d3a32 100644 --- a/obexd/plugins/phonebook-tracker.c +++ b/obexd/plugins/phonebook-tracker.c @@ -250,8 +250,7 @@ CALLS_CONSTRAINTS(CONSTRAINT) \ "nmo:receivedDate(?_call) " \ "nmo:isSent(?_call) " \ "nmo:isAnswered(?_call) " \ - "fn:concat(tracker:coalesce(?_ncontact, \"\")," \ - "tracker:coalesce(?_unb_contact, \"\"))" \ + "?_call " \ CALLS_CONSTRAINTS(CONSTRAINT) \ "ORDER BY DESC(nmo:sentDate(?_call)) " -- 2.47.3