fix catchup older than X for labels category
This commit is contained in:
parent
c6d970b857
commit
15d8bd7dbf
|
@ -1144,8 +1144,8 @@
|
||||||
|
|
||||||
db_query("UPDATE ttrss_user_entries
|
db_query("UPDATE ttrss_user_entries
|
||||||
SET unread = false,last_read = NOW() WHERE (SELECT COUNT(*)
|
SET unread = false,last_read = NOW() WHERE (SELECT COUNT(*)
|
||||||
FROM ttrss_user_labels2 WHERE article_id = ref_id) > 0
|
FROM ttrss_user_labels2, ttrss_entries WHERE article_id = ref_id AND id = ref_id AND $date_qpart) > 0
|
||||||
AND unread = true AND $date_qpart AND owner_uid = $owner_uid");
|
AND unread = true AND owner_uid = $owner_uid");
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if ($feed > 0) {
|
} else if ($feed > 0) {
|
||||||
|
|
Loading…
Reference in New Issue