Monotone-Parent: 0508e0037d1a44a60737fdd18b1830b167d7ab72
Monotone-Revision: e0c7704c039513e9d35441827fe46a04a1a4f5f7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-04-15T15:00:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
1047e26fe8
commit
b498c8ff24
|
@ -43,24 +43,22 @@
|
|||
NSDictionary *currentFilter, *contact;
|
||||
NSEnumerator *contacts;
|
||||
NSString *baseURL;
|
||||
SOGoObject <SOGoContactFolder> *o;
|
||||
|
||||
o = (id <SOGoContactFolder>) self;
|
||||
baseURL = [o baseURLInContext: localContext];
|
||||
baseURL = [self baseURLInContext: localContext];
|
||||
|
||||
max = [filters count];
|
||||
for (count = 0; count < max; count++)
|
||||
{
|
||||
currentFilter = [filters objectAtIndex: count];
|
||||
contacts = [[o lookupContactsWithFilter: [[currentFilter allValues] lastObject]
|
||||
sortBy: @"c_givenname"
|
||||
ordering: NSOrderedDescending]
|
||||
contacts = [[self lookupContactsWithFilter: [[currentFilter allValues] lastObject]
|
||||
sortBy: @"c_givenname"
|
||||
ordering: NSOrderedDescending]
|
||||
objectEnumerator];
|
||||
|
||||
while ((contact = [contacts nextObject]))
|
||||
[o appendObject: contact
|
||||
withBaseURL: baseURL
|
||||
toREPORTResponse: response];
|
||||
[self appendObject: contact
|
||||
withBaseURL: baseURL
|
||||
toREPORTResponse: response];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue