From: Andrew Dolgov Date: Tue, 19 Oct 2010 05:36:16 +0000 (+0400) Subject: revert to sorting by updated instead of date_entering unless Date sorting is requested X-Git-Tag: 1.5.0~433 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6a69b6ad44eecfbc43bd21fdd15fe2042f76a3a5;p=tt-rss.git revert to sorting by updated instead of date_entering unless Date sorting is requested --- 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") {