This fixes doing a phone book pull on call history phone book, from
specified offset and/or with specified limit.
---
plugins/phonebook-tracker.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index a20870e..1022d3a 100644
--- a/plugins/phonebook-tracker.c
+++ b/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)) "
--
1.7.4.1