From: Andrew Dolgov Date: Wed, 27 Oct 2010 08:10:14 +0000 (+0400) Subject: default headline sort order by date_entered instead of updated X-Git-Tag: 1.5.0~429 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f9b2d27c70c8da94518bc5c967ea264e87126ad2;hp=338302709c4bc64dfbe22b52c9f56df990aed963;p=tt-rss.git default headline sort order by date_entered instead of updated --- diff --git a/functions.php b/functions.php index 98192357..e18b0235 100644 --- a/functions.php +++ b/functions.php @@ -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,