aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-05-04 23:46:48 +0000
committerrowanbeentje <rowan@beent.je>2010-05-04 23:46:48 +0000
commitb4648f71fc5d986672158dacae8c1180a8d12413 (patch)
treebc2feff89fdedd81639a2ed2dae59c2234936065 /Source/TableContent.m
parente1ddcc46b4beac645dd76ab40a85890c8a2795ab (diff)
downloadsequelpro-b4648f71fc5d986672158dacae8c1180a8d12413.tar.gz
sequelpro-b4648f71fc5d986672158dacae8c1180a8d12413.tar.bz2
sequelpro-b4648f71fc5d986672158dacae8c1180a8d12413.zip
- Don't update table row count if table content is limited AND filtered; this addresses Issue #666
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index b78a6423..144f81de 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -2685,7 +2685,7 @@
maxNumRows = foundMaxRows;
maxNumRowsIsEstimate = NO;
}
- } else if (!isInterruptedLoad && tableRowsCount < [prefs integerForKey:SPLimitResultsValue]) {
+ } else if (!isInterruptedLoad && !isFiltered && tableRowsCount < [prefs integerForKey:SPLimitResultsValue]) {
maxNumRows = foundMaxRows;
maxNumRowsIsEstimate = NO;
}