Changeset 619
- Timestamp:
- 07/03/08 23:34:58 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/CoreData/SapphireFrappliance/MetaData/SapphireMObjects/SapphireDirectoryMetaData.m
r613 r619 103 103 { 104 104 NSManagedObjectContext *moc = [self managedObjectContext]; 105 NSPredicate *pathPredicate = [NSPredicate predicateWithFormat:@"path BEGINSWITH %@", self.path];105 NSPredicate *pathPredicate = [NSPredicate predicateWithFormat:@"path BEGINSWITH %@", [self.path stringByAppendingString:@"/"]]; 106 106 NSPredicate *predicate; 107 107 if(pred == nil) … … 457 457 { 458 458 NSManagedObjectContext *moc = [self managedObjectContext]; 459 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"path BEGINSWITH %@", self.path];459 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"path BEGINSWITH %@", [self.path stringByAppendingString:@"/"]]; 460 460 if(filterPredicate != nil) 461 461 predicate = [NSCompoundPredicate andPredicateWithSubpredicates:[NSArray arrayWithObjects:predicate, filterPredicate, nil]];
