1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 08:35:57 +00:00

multiple issues fixed in vfeed_group_by_feed

This commit is contained in:
Andrew Dolgov
2012-10-28 00:41:51 +04:00
parent ed66d60d96
commit 7fdf8eca99
2 changed files with 12 additions and 2 deletions

View File

@@ -2559,9 +2559,12 @@
$offset_query_part = "OFFSET $offset";
}
// proper override_order applied above
if ($vfeed_query_part && get_pref($link, 'VFEED_GROUP_BY_FEED', $owner_uid)) {
if (!$override_order) {
$order_by = "ttrss_feeds.title, $order_by";
} else {
$order_by = "ttrss_feeds.title, $override_order";
}
}