diff --git a/ChangeLog b/ChangeLog index 2cfff9547..9f2d60694 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-27 Wolfgang Sourdeau + + * SoObjects/Contacts/SOGoContactGCSFolder.m () + ([SOGoContactGCSFolder + -lookupContactsWithFilter:filtersortBy:sortKeyordering:sortOrdering]): + return records if the db records are > 0 and not just > 1... + 2007-07-24 Wolfgang Sourdeau * UI/Contacts/UIxContactsListView.m ([-displayName]): removed diff --git a/SoObjects/Contacts/SOGoContactGCSFolder.m b/SoObjects/Contacts/SOGoContactGCSFolder.m index 23444abd7..7228ac628 100644 --- a/SoObjects/Contacts/SOGoContactGCSFolder.m +++ b/SoObjects/Contacts/SOGoContactGCSFolder.m @@ -224,7 +224,7 @@ qualifier = [self _qualifierForFilter: filter]; dbRecords = [[self ocsFolder] fetchFields: fields matchingQualifier: qualifier]; - if ([dbRecords count] > 1) + if ([dbRecords count] > 0) { records = [self _flattenedRecords: dbRecords]; ordering