don't bother with topmost id if working with disabled offsets

master
Andrew Dolgov 9 years ago
parent 0bd172cd6a
commit c7edba791c

@ -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,

Loading…
Cancel
Save