]> git.wh0rd.org Git - tt-rss.git/commitdiff
support grouped vfeeds in adaptive mode
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 12:34:08 +0000 (16:34 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 12:34:08 +0000 (16:34 +0400)
include/functions.php

index 4a584f96934ae5219d146c3bba52d13d5e0b8b82..507df794461ece4f0d2a653c4260a82f60711c9f 100644 (file)
                                        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";
+                                       }
+
                                }
                        }