From 6a69b6ad44eecfbc43bd21fdd15fe2042f76a3a5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Oct 2010 09:36:16 +0400 Subject: [PATCH] revert to sorting by updated instead of date_entering unless Date sorting is requested --- backend.php | 8 ++++---- functions.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend.php b/backend.php index 06c1ecbd9..2dd3c5c9b 100644 --- a/backend.php +++ b/backend.php @@ -327,17 +327,17 @@ case "title": if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) { - $override_order = "title DESC, date_entered"; + $override_order = "title DESC, updated"; } else { - $override_order = "title, date_entered DESC"; + $override_order = "title, updated DESC"; } break; case "score": if (get_pref($link, 'REVERSE_HEADLINES', $owner_uid)) { - $override_order = "score, date_entered"; + $override_order = "score, updated"; } else { - $override_order = "score DESC, date_entered DESC"; + $override_order = "score DESC, updated DESC"; } break; } 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") {