diff options
author | Andrew Dolgov <[email protected]> | 2015-08-05 16:23:27 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-05 16:23:27 +0300 |
commit | c7edba791c69565afa89a5e2c6e90e82d525d509 (patch) | |
tree | 604a6b17b1894f160f8214e311e98ec2411ca562 /include | |
parent | 0bd172cd6a6f8ddad4aea1b18fe6d2b1e27f8690 (diff) |
don't bother with topmost id if working with disabled offsets
Diffstat (limited to 'include')
-rw-r--r-- | include/functions2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php index 996e99f42..418dbc95b 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -726,7 +726,7 @@ $sanity_interval_qpart = "date_entered >= DATE_SUB(NOW(), INTERVAL 1 hour) AND"; } - if (!$search) { + if (!$search && !$disable_offsets) { // if previous topmost article id changed that means our current pagination is no longer valid $query = "SELECT DISTINCT ttrss_feeds.title, |