Permalink
Browse files

Fix another wayward MR_requestAllWithPredicate without a specified co…

…ntext.
  • Loading branch information...
tonyarnold committed May 21, 2014
1 parent 9abf472 commit 76108f3ba2ad21b71646b3a755a998853b5e5a0c
@@ -175,7 +175,7 @@ + (NSArray *) MR_aggregateOperation:(NSString *)collectionOperator onAttribute:(
[expressionDescription setExpressionResultType:[attributeDescription attributeType]];
NSArray *properties = [NSArray arrayWithObjects:groupingKeyPath, expressionDescription, nil];
- NSFetchRequest *fetchRequest = [self MR_requestAllWithPredicate:predicate];
+ NSFetchRequest *fetchRequest = [self MR_requestAllWithPredicate:predicate inContext:context];
[fetchRequest setPropertiesToFetch:properties];
[fetchRequest setResultType:NSDictionaryResultType];
[fetchRequest setPropertiesToGroupBy:[NSArray arrayWithObject:groupingKeyPath]];

0 comments on commit 76108f3

Please sign in to comment.