Diff between 11c141b636d6f370e88de73fe2e053ae81460b03 and c6791973f394379731df0d68d85cd75ca7bb4d12

Changed Files

File Additions Deletions Status
obexd/plugins/phonebook-tracker.c +2 -2 modified

Full Patch

diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c
index 2c73747..89c612e 100644
--- a/obexd/plugins/phonebook-tracker.c
+++ b/obexd/plugins/phonebook-tracker.c
@@ -218,7 +218,7 @@
 			"?c nco:hasAffiliation ?a . "			\
 			"?a nco:hasPhoneNumber ?w . "			\
 		"} "							\
-	"} } "
+	"} } ORDER BY DESC(nmo:receivedDate(?call))"
 
 #define COMBINED_CALLS_LIST						\
 	"SELECT ?c nco:nameFamily(?c) nco:nameGiven(?c) "		\
@@ -237,7 +237,7 @@
 		"nmo:isSent false . "					\
 		"?c a nco:Contact . "					\
 		"OPTIONAL { ?c nco:hasPhoneNumber ?h . } "		\
-	"} } "
+	"} } ORDER BY DESC(nmo:receivedDate(?call))"
 
 
 #define CONTACTS_QUERY_FROM_URI						\