Expand the maximum length of query searches.
This commit is contained in:
		@@ -617,7 +617,7 @@
 | 
			
		||||
    NSMutableString *queryPattern = [NSMutableString new];
 | 
			
		||||
    [queryString enumerateSubstringsInRange: NSMakeRange(0, [queryString length]) options: NSStringEnumerationByComposedCharacterSequences
 | 
			
		||||
                                 usingBlock: ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) {
 | 
			
		||||
                                     if (substringRange.location < 10) {
 | 
			
		||||
                                     if (substringRange.location < 20) {
 | 
			
		||||
                                         [queryGroups addObject:substring];
 | 
			
		||||
                                         [queryPattern appendString:@"*"];
 | 
			
		||||
                                     }
 | 
			
		||||
 
 | 
			
		||||
@@ -373,7 +373,7 @@ typedef NS_OPTIONS( NSUInteger, MPPasswordsTips ) {
 | 
			
		||||
        NSMutableString *queryPattern = [NSMutableString new];
 | 
			
		||||
        [queryString enumerateSubstringsInRange: NSMakeRange(0, [queryString length]) options: NSStringEnumerationByComposedCharacterSequences
 | 
			
		||||
                              usingBlock: ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) {
 | 
			
		||||
            if (substringRange.location < 10) {
 | 
			
		||||
            if (substringRange.location < 20) {
 | 
			
		||||
                [queryGroups addObject:substring];
 | 
			
		||||
                [queryPattern appendString:@"*"];
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user