diff --git a/ChangeLog b/ChangeLog index 9ab2ea19b..b75ddfff7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-10-20 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactLDAPFolder.m + ([SOGoContactLDAPFolder + -lookupContactsWithFilter:filtersortBy:sortKeyordering:sortOrdering]): perform the searchs on objects which start with instead of contain the lookup key. + * SoObjects/Appointments/SOGoAptMailNotification.[hm]: work on iCalEntityObject instances instead of just iCalEvent's. diff --git a/SoObjects/Contacts/SOGoContactLDAPFolder.m b/SoObjects/Contacts/SOGoContactLDAPFolder.m index d9e621cd9..d4a1080e5 100644 --- a/SoObjects/Contacts/SOGoContactLDAPFolder.m +++ b/SoObjects/Contacts/SOGoContactLDAPFolder.m @@ -331,12 +331,12 @@ if (filter && [filter length] > 0) { qs = [NSString stringWithFormat: - @"(cn='*%@*')" - @"OR (sn='*%@*')" - @"OR (displayName='*%@*')" - @"OR (mail='*%@*')" + @"(cn='%@*')" + @"OR (sn='%@*')" + @"OR (displayName='%@*')" + @"OR (mail='%@*')" @"OR (telephoneNumber='*%@*')", - filter, filter, filter, filter]; + filter, filter, filter, filter, filter]; qualifier = [EOQualifier qualifierWithQualifierFormat: qs]; } else