aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-12-23 20:59:18 +0000
committerrowanbeentje <rowan@beent.je>2012-12-23 20:59:18 +0000
commit714a06ae49c50e89638d67dcb39efbee630d3325 (patch)
tree79e3a5cd54e197f15f87d1d9ec36921fd3efff51 /Source/SPTableContent.m
parentc65704f3a87c14b9dbe16c976d7afcb0f175a63f (diff)
downloadsequelpro-714a06ae49c50e89638d67dcb39efbee630d3325.tar.gz
sequelpro-714a06ae49c50e89638d67dcb39efbee630d3325.tar.bz2
sequelpro-714a06ae49c50e89638d67dcb39efbee630d3325.zip
Make some improvements to the Table Content Filter, particularly for text fields:
- Rename all "IS" entries to "=", to make the intended purpose clearer, and switch the underlying command to use "= BINARY" instead of "LIKE", producing an exact match instead of replicating LIKE functionality. Move LIKE p to just below the = options. This addresses Issue #1441. - Add entries for "matches RegExp" and "does not match RegExp", implementing Issue #1508. - When adding custom filters, add them by default to the Global group if the favourite isn't an on-disk document, addressing filter loss between sessions; this addresses Issue #1381
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index dceea288..71657916 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -444,7 +444,7 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
[fieldField addItemWithTitle:NSLocalizedString(@"field", @"popup menuitem for field (showing only if disabled)")];
[compareField setEnabled:NO];
[compareField removeAllItems];
- [compareField addItemWithTitle:NSLocalizedString(@"is", @"popup menuitem for field IS value")];
+ [compareField addItemWithTitle:@"="];
[argumentField setHidden:NO];
[argumentField setEnabled:NO];
[firstBetweenField setEnabled:NO];