diff options
author | Andrew Dolgov <[email protected]> | 2005-12-21 18:59:19 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-21 18:59:19 +0100 |
commit | 5c563acde0aaf711ecde3755ab3dfb0d94373d1f (patch) | |
tree | dc2d6fdc87fca5f3ddd52536db9aa34233ffff63 /functions.php | |
parent | bd62b8b39249f421525cf6d985b0461618d1020d (diff) |
update feeds by last_updated DESC
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php index b54789fa2..80fed8e3b 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"]; |