mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-22 07:03:19 +00:00
Monotone-Parent: 533cf8ab1e070968af4fbbe2ddbd0d66b8fd2b7b
Monotone-Revision: 242b11744a01859b09e976093dc5b526d501fd87 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-28T16:37:04
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2011-11-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
(-bareFetchFields:from:to:title:component:additionalFilters:):
|
||||
we must not attempt to instantiate an EOQualifier with a "nil"
|
||||
format, otherwise it causes an exception. Settings the qualifier
|
||||
as nil instead.
|
||||
|
||||
2011-11-24 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/ContactsUI.js (resetCategoriesMenu): the
|
||||
|
||||
@@ -544,12 +544,14 @@ static NSNumber *sharedYes = nil;
|
||||
filterSqlString];
|
||||
/* sql is empty when we fetch everything (all parameters are nil) */
|
||||
if ([sql length] > 0)
|
||||
sql = [sql substringFromIndex: 4];
|
||||
{
|
||||
sql = [sql substringFromIndex: 4];
|
||||
qualifier = [EOQualifier qualifierWithQualifierFormat: sql];
|
||||
}
|
||||
else
|
||||
sql = nil;
|
||||
qualifier = nil;
|
||||
|
||||
/* fetch non-recurrent apts first */
|
||||
qualifier = [EOQualifier qualifierWithQualifierFormat: sql];
|
||||
|
||||
records = [folder fetchFields: fields matchingQualifier: qualifier];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user