Skip to content
Permalink
Browse files

Fix a bug in filter expression SQL generation that could result in co…

…nditions being needlessly repeated
  • Loading branch information...
dmoagx committed Sep 30, 2019
1 parent a5b310e commit 8a37c10c67bfa6b4cc0f6a2aa3ac554f07ac16ed
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/SPRuleFilterController.m
@@ -1478,6 +1478,7 @@ + (NSDictionary *)_flattenSerializedFilter:(NSDictionary *)in
if(SerIsGroup(flattened) && [inIsConjunction isEqual:[flattened objectForKey:SerFilterGroupIsConjunction]]) {
[flatChildren addObjectsFromArray:[flattened objectForKey:SerFilterGroupChildren]];
changed++;
continue;
}
else if(flattened != child) {
changed++;

0 comments on commit 8a37c10

Please sign in to comment.
You can’t perform that action at this time.