mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:35:55 +00:00
queryfeedheadlines: only use disable_offsets hack in expanded mode
This commit is contained in:
@@ -506,7 +506,7 @@
|
|||||||
|
|
||||||
if ($unread > 0) {
|
if ($unread > 0) {
|
||||||
$view_query_part = " unread = true AND ";
|
$view_query_part = " unread = true AND ";
|
||||||
$disable_offsets = !$api_request && get_pref("CDM_AUTO_CATCHUP");
|
$disable_offsets = !$api_request && get_pref("CDM_AUTO_CATCHUP") && get_pref("CDM_EXPANDED");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -525,7 +525,7 @@
|
|||||||
|
|
||||||
if ($view_mode == "unread" && $feed != -6) {
|
if ($view_mode == "unread" && $feed != -6) {
|
||||||
$view_query_part = " unread = true AND ";
|
$view_query_part = " unread = true AND ";
|
||||||
$disable_offsets = !$api_request && get_pref("CDM_AUTO_CATCHUP");
|
$disable_offsets = !$api_request && get_pref("CDM_AUTO_CATCHUP") && get_pref("CDM_EXPANDED");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($limit > 0) {
|
if ($limit > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user