From f9b2d27c70c8da94518bc5c967ea264e87126ad2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Oct 2010 12:10:14 +0400 Subject: [PATCH] default headline sort order by date_entered instead of updated --- functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,