summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-10-19 09:36:16 +0400
committerAndrew Dolgov <[email protected]>2010-10-19 09:36:16 +0400
commit6a69b6ad44eecfbc43bd21fdd15fe2042f76a3a5 (patch)
tree8d21068ac4f75fc2ee4f239ef71091dcda0d15fe /functions.php
parent8872d5f022985f98c6fc3eec8a5f725cd23e5005 (diff)
revert to sorting by updated instead of date_entering unless Date sorting is requested
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index c933ca075..dda8d894f 100644
--- a/functions.php
+++ b/functions.php
@@ -3512,9 +3512,9 @@
}
if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) {
- $order_by = "date_entered";
+ $order_by = "updated";
} else {
- $order_by = "date_entered DESC";
+ $order_by = "updated DESC";
}
if ($view_mode != "noscores") {