summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-10-27 12:10:14 +0400
committerAndrew Dolgov <[email protected]>2010-10-27 12:10:14 +0400
commitf9b2d27c70c8da94518bc5c967ea264e87126ad2 (patch)
tree8a1050ca1359dc58d84da6768a0c3d2173c78a04 /functions.php
parent338302709c4bc64dfbe22b52c9f56df990aed963 (diff)
default headline sort order by date_entered instead of updated
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.php b/functions.php
index 981923573..e18b02353 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,