From: Andrew Dolgov Date: Sun, 6 Oct 2013 11:38:58 +0000 (+0400) Subject: getFeedArticles: use date_entered for fresh feed same as queryFeedHeadlines (closes... X-Git-Tag: 1.11~46 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=924a89ebf33b5ce82a76aa4f9b4726cb60282528;p=tt-rss.git getFeedArticles: use date_entered for fresh feed same as queryFeedHeadlines (closes #780) --- diff --git a/include/functions.php b/include/functions.php index c6ee6dfb..3ac41366 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1421,9 +1421,9 @@ $intl = get_pref("FRESH_ARTICLE_MAX_AGE", $owner_uid); if (DB_TYPE == "pgsql") { - $match_part .= " AND updated > NOW() - INTERVAL '$intl hour' "; + $match_part .= " AND date_entered > NOW() - INTERVAL '$intl hour' "; } else { - $match_part .= " AND updated > DATE_SUB(NOW(), INTERVAL $intl HOUR) "; + $match_part .= " AND date_entered > DATE_SUB(NOW(), INTERVAL $intl HOUR) "; } $need_entries = true;