From: Andrew Dolgov Date: Wed, 21 Dec 2005 17:59:19 +0000 (+0100) Subject: update feeds by last_updated DESC X-Git-Tag: schema_upgrade_passed_(1.1_->_1.1.1)~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5c563acde0aaf711ecde3755ab3dfb0d94373d1f;p=tt-rss.git update feeds by last_updated DESC --- diff --git a/functions.php b/functions.php index b54789fa..80fed8e3 100644 --- a/functions.php +++ b/functions.php @@ -102,7 +102,8 @@ $result = db_query($link, "SELECT feed_url,id, substring(last_updated,1,19) as last_updated, - update_interval FROM ttrss_feeds WHERE owner_uid = '$user_id'"); + update_interval FROM ttrss_feeds WHERE owner_uid = '$user_id' + ORDER BY last_updated DESC"); while ($line = db_fetch_assoc($result)) { $upd_intl = $line["update_interval"];