diff options
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index da6577cb..3b22db96 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -883,7 +883,7 @@ } else if (numberOfArguments == 1) { filterString = [NSString stringWithFormat:clause, [self escapeFilterArgument:argument againstClause:clause]]; } else { - filterString = [NSString stringWithString:[filter objectForKey:@"Clause"]]; + filterString = [NSString stringWithString:clause]; if(numberOfArguments > 2) { NSLog(@"Filter with more than 2 arguments is not yet supported."); NSBeep(); @@ -902,8 +902,7 @@ [NSString stringWithFormat:clause, [self escapeFilterArgument:argument againstClause:clause]]]; } else { filterString = [NSString stringWithFormat:@"%@ %@", - [[fieldField titleOfSelectedItem] backtickQuotedString], - [filter objectForKey:@"Clause"]]; + [[fieldField titleOfSelectedItem] backtickQuotedString], clause]; if(numberOfArguments > 2) { NSLog(@"Filter with more than 2 arguments is not yet supported."); NSBeep(); |