From f3b2e7d41fce72344295150cac4e15a1ad97dfa0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Apr 2013 20:44:55 +0400 Subject: [PATCH] add back sorting by title --- classes/feeds.php | 15 +++++++++------ index.php | 1 + 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/classes/feeds.php b/classes/feeds.php index 778850fc..1d0bb529 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -866,12 +866,15 @@ class Feeds extends Handler_Protected { $override_order = false; switch ($order_by) { - case "date_reverse": - $override_order = "date_entered, updated"; - break; - case "feed_dates": - $override_order = "updated DESC"; - break; + case "title": + $override_order = "ttrss_entries.title"; + break; + case "date_reverse": + $override_order = "date_entered, updated"; + break; + case "feed_dates": + $override_order = "updated DESC"; + break; } if ($_REQUEST["debug"]) $timing_info = print_checkpoint("04", $timing_info); diff --git a/index.php b/index.php index a8cc38ca..b3f63d46 100644 --- a/index.php +++ b/index.php @@ -185,6 +185,7 @@ +
-- 2.39.5