]> git.wh0rd.org Git - tt-rss.git/commitdiff
add unread_first view mode (2)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 19:01:40 +0000 (23:01 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 19:01:40 +0000 (23:01 +0400)
include/functions.php

index 115cc0352aaa80301ac0976cacf0fbb09ca116df..1c4389ece34b5181a4864ada9a53ba0a59bb57a9 100644 (file)
                        }
 
                        if ($view_mode == "unread_first") {
-                               if (!$override_order) $override_order = "unread DESC, $order_by";
+                               $order_by = "unread DESC, $order_by";
                        }
 
                        if ($override_order) {