From 0dfb621b3715b539a72356f1f7a5e4739f49acc4 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 19 Dec 2017 10:06:01 -0500 Subject: [PATCH] Use address books search fields in Contacts module Fixes #4356 --- ActiveSync/SOGoActiveSyncDispatcher.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ActiveSync/SOGoActiveSyncDispatcher.m b/ActiveSync/SOGoActiveSyncDispatcher.m index 31ab9b952..1a078d92e 100644 --- a/ActiveSync/SOGoActiveSyncDispatcher.m +++ b/ActiveSync/SOGoActiveSyncDispatcher.m @@ -2857,7 +2857,7 @@ void handle_eas_terminate(int signum) { currentFolder = [systemSources objectForKey: [allKeys objectAtIndex: i]]; allContacts = [currentFolder lookupContactsWithFilter: query - onCriteria: @"name_or_address" + onCriteria: nil sortBy: @"c_cn" ordering: NSOrderedAscending inDomain: [[context activeUser] domain]];