From 8cb46a1e83e03039565e7619d166bf340577bd52 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Mar 2013 16:34:08 +0400 Subject: [PATCH] support grouped vfeeds in adaptive mode --- include/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/functions.php b/include/functions.php index 4a584f96..507df794 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2252,6 +2252,13 @@ if (!$override_order) { $override_order = "unread DESC, $a_order_by"; } + + if (!$ignore_vfeed_group && + get_pref($link, 'VFEED_GROUP_BY_FEED', $owner_uid)) { + + $override_order = "ttrss_feeds.title, $override_order"; + } + } } -- 2.39.5