diff --git a/Medianno/MADocument.mm b/Medianno/MADocument.mm index dd6a8dd..df35cd3 100644 --- a/Medianno/MADocument.mm +++ b/Medianno/MADocument.mm @@ -113,7 +113,7 @@ { NSManagedObjectContext *moc = [self managedObjectContext]; NSFetchRequest * fetch = [NSFetchRequest fetchRequestWithEntityName:@"MATagDescription"]; - [fetch setPredicate:[NSPredicate predicateWithFormat:@"name BEGINSWITH %@", prefix]]; + [fetch setPredicate:[NSPredicate predicateWithFormat:@"name BEGINSWITH[cd] %@", prefix]]; NSArray * descs = [moc executeFetchRequest:fetch error:nil]; NSMutableArray * names = [NSMutableArray arrayWithCapacity:[descs count]];