default headline sort order by date_entered instead of updated

This commit is contained in:
Andrew Dolgov 2010-10-27 12:10:14 +04:00
parent 338302709c
commit f9b2d27c70
1 changed files with 3 additions and 3 deletions

View File

@ -3514,9 +3514,9 @@
}
if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) {
$order_by = "updated";
$order_by = "date_entered";
} else {
$order_by = "updated DESC";
$order_by = "date_entered DESC";
}
if ($view_mode != "noscores") {
@ -3578,7 +3578,7 @@
}
$query = "SELECT DISTINCT
date_updated,
date_entered,
guid,
ttrss_entries.id,ttrss_entries.title,
updated,