update feeds by last_updated DESC

This commit is contained in:
Andrew Dolgov 2005-12-21 18:59:19 +01:00
parent bd62b8b392
commit 5c563acde0
1 changed files with 2 additions and 1 deletions

View File

@ -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"];