Skip to content

Commit

Permalink
add unread_first view mode (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Dolgov committed Mar 25, 2013
1 parent 2e4faaa commit 434bf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.php
Expand Up @@ -2408,7 +2408,7 @@ function queryFeedHeadlines($link, $feed, $limit, $view_mode, $cat_view, $search
}

if ($view_mode == "unread_first") {
if (!$override_order) $override_order = "unread DESC, $order_by";
$order_by = "unread DESC, $order_by";
}

if ($override_order) {
Expand Down

0 comments on commit 434bf85

Please sign in to comment.