Monotone-Parent: 10bc75b22aa9828644f846e67ae3509d61793864

Monotone-Revision: 181c204ddec5a60db59ce4a63428f75cb20a7a81

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-16T20:18:39
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-01-16 20:18:39 +00:00
parent 3fbe421319
commit 1746d307f3
2 changed files with 14 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
2012-01-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SQLSource.m (_lookupContactEntry:considerEmail:)
(fetchContactsMatching:): assigned self to the "source" key of the
returned dictionaries.
2012-01-13 Francis Lachapelle <flachapelle@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m
+8 -1
View File
@@ -572,6 +572,8 @@
forKey: @"numberOfSimultaneousBookings"];
}
}
[response setObject: self forKey: @"source"];
}
else
[self errorWithFormat: @"could not run SQL '%@': %@", sql, ex];
@@ -678,7 +680,12 @@
attrs = [channel describeResults: NO];
while ((row = [channel fetchAttributes: attrs withZone: NULL]))
[results addObject: row];
{
row = [row mutableCopy];
[(NSMutableDictionary *) row setObject: self forKey: @"source"];
[results addObject: row];
[row release];
}
}
else
[self errorWithFormat: @"could not run SQL '%@': %@", sql, ex];