aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-01-28 20:54:19 +0000
committerstuconnolly <stuart02@gmail.com>2009-01-28 20:54:19 +0000
commit9a5c96b6a5b6b84a37033742ad043aa62db6fe92 (patch)
tree06bc977cd852a812c2d96aa58be35cf645947166
parent248c24390544ce758346b80526858cd73a378848 (diff)
downloadsequelpro-9a5c96b6a5b6b84a37033742ad043aa62db6fe92.tar.gz
sequelpro-9a5c96b6a5b6b84a37033742ad043aa62db6fe92.tar.bz2
sequelpro-9a5c96b6a5b6b84a37033742ad043aa62db6fe92.zip
Date filters were order wrong causing the opposite of the expected result to be returned. Fixes #151.
-rw-r--r--Source/TableContent.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 0fd35a05..211ee350 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -520,16 +520,16 @@
compareOperator = @"!=";
break;
case 2:
- compareOperator = @"<";
+ compareOperator = @">";
break;
case 3:
- compareOperator = @">";
+ compareOperator = @"<";
break;
case 4:
- compareOperator = @"<=";
+ compareOperator = @">=";
break;
case 5:
- compareOperator = @">=";
+ compareOperator = @"<=";
break;
case 6:
compareOperator = @"IS NULL";