From: Andrew Dolgov Date: Mon, 25 Mar 2013 12:34:08 +0000 (+0400) Subject: support grouped vfeeds in adaptive mode X-Git-Tag: 1.7.6~300 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8cb46a1e83e03039565e7619d166bf340577bd52;p=tt-rss.git support grouped vfeeds in adaptive mode --- 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"; + } + } }