diff --git a/backend.php b/backend.php index 06c1ecbd..2dd3c5c9 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 c933ca07..dda8d894 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") {