See Changelog

Monotone-Parent: a5879e0ca48fa60369415c062b9a5b8e85b3cb84
Monotone-Revision: 60e52d42356476440191e2ecbde8c0be6697337d

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-10-13T17:49:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-10-13 17:49:44 +00:00
parent de5adf88ad
commit 2acf20ecbf
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2010-10-13 Francis Lachapelle <flachapelle@inverse.ca>
* SoObjects/SOGo/LDAPSource.m (_qualifierForUIDFilter:): removed
duplicated constraints in the filter when using bind fields.
* UI/WebServerResources/HTMLElement.js (deselectAll): fixed a bug
where the properties where not removed from the proper element
(table instead of the tbody).

View File

@@ -593,7 +593,11 @@ static NSArray *commonSearchFields;
{
bindFieldsEnum = [bindFields objectEnumerator];
while ((currentField = [bindFieldsEnum nextObject]))
[qs appendFormat: @" OR (%@='%@')", [currentField stringByTrimmingSpaces], escapedUid];
{
if ([currentField caseInsensitiveCompare: UIDField] != NSOrderedSame
&& ![mailFields containsObject: currentField])
[qs appendFormat: @" OR (%@='%@')", [currentField stringByTrimmingSpaces], escapedUid];
}
}
if (_filter && [_filter length])