don't bother with topmost id if working with disabled offsets
This commit is contained in:
parent
0bd172cd6a
commit
c7edba791c
|
@ -726,7 +726,7 @@
|
||||||
$sanity_interval_qpart = "date_entered >= DATE_SUB(NOW(), INTERVAL 1 hour) AND";
|
$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
|
// if previous topmost article id changed that means our current pagination is no longer valid
|
||||||
$query = "SELECT DISTINCT
|
$query = "SELECT DISTINCT
|
||||||
ttrss_feeds.title,
|
ttrss_feeds.title,
|
||||||
|
|
Loading…
Reference in New Issue