diff --git a/include/functions.php b/include/functions.php index 4a584f969..507df7944 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"; + } + } }