From 71319488120862a5b4e6fddff2ae85868b8cc8cf Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 5 Apr 2011 15:10:04 +0000 Subject: [PATCH] Monotone-Parent: 3e9a01a3615e6c215893301389e708f679fa0745 Monotone-Revision: d0ac54b9a1d78a365c2ddff5b5f5e8f53491b8a0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-05T15:10:04 Monotone-Branch: ca.inverse.sogo --- UI/Contacts/UIxContactFoldersView.m | 1 + UI/Contacts/UIxContactsListView.m | 1 + 2 files changed, 2 insertions(+) diff --git a/UI/Contacts/UIxContactFoldersView.m b/UI/Contacts/UIxContactFoldersView.m index 765032af3..3fcdc1572 100644 --- a/UI/Contacts/UIxContactFoldersView.m +++ b/UI/Contacts/UIxContactFoldersView.m @@ -132,6 +132,7 @@ // NSLog(@"Search all contacts: %@", searchText); excludeGroups = [[self queryParameterForKey: @"excludeGroups"] boolValue]; excludeLists = [[self queryParameterForKey: @"excludeLists"] boolValue]; + folders = nil; NS_DURING folders = [[self clientObject] subFolders]; NS_HANDLER diff --git a/UI/Contacts/UIxContactsListView.m b/UI/Contacts/UIxContactsListView.m index 86cda3a43..bc2f07656 100644 --- a/UI/Contacts/UIxContactsListView.m +++ b/UI/Contacts/UIxContactsListView.m @@ -140,6 +140,7 @@ searchText = [self queryParameterForKey: @"search"]; if ([searchText length] > 0) { + folder = nil; NS_DURING folder = [self clientObject]; NS_HANDLER