mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 07:55:56 +00:00
limit fresh feed to articles with non-negative score
This commit is contained in:
@@ -2601,7 +2601,7 @@
|
|||||||
} else if ($n_feed == -2) {
|
} else if ($n_feed == -2) {
|
||||||
$match_part = "published = true";
|
$match_part = "published = true";
|
||||||
} else if ($n_feed == -3) {
|
} else if ($n_feed == -3) {
|
||||||
$match_part = "unread = true";
|
$match_part = "unread = true AND score >= 0";
|
||||||
|
|
||||||
$intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE", $owner_uid);
|
$intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE", $owner_uid);
|
||||||
|
|
||||||
@@ -3394,7 +3394,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else if ($feed == -3) { // fresh virtual feed
|
} else if ($feed == -3) { // fresh virtual feed
|
||||||
$query_strategy_part = "unread = true";
|
$query_strategy_part = "unread = true AND score >= 0";
|
||||||
|
|
||||||
$intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE", $owner_uid);
|
$intl = get_pref($link, "FRESH_ARTICLE_MAX_AGE", $owner_uid);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user