diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableContent.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index a57973c8..87f76701 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -647,6 +647,7 @@ // If the result is empty, and a late page is selected, reset the page if (!fullTableReloadRequired && [prefs boolForKey:SPLimitResults] && queryStringBeforeLimit && !tableRowsCount && ![mySQLConnection queryCancelled]) { contentPage = 1; + previousTableRowsCount = tableRowsCount; queryString = [NSMutableString stringWithFormat:@"%@ LIMIT 0,%ld", queryStringBeforeLimit, (long)[prefs integerForKey:SPLimitResultsValue]]; [self setUsedQuery:queryString]; streamingResult = [[mySQLConnection streamingQueryString:queryString] retain]; |