]> git.wh0rd.org Git - tt-rss.git/commitdiff
order headlines by score
authorAndrew Dolgov <fox@madoka.spb.ru>
Sun, 4 May 2008 03:45:39 +0000 (04:45 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Sun, 4 May 2008 03:45:39 +0000 (04:45 +0100)
functions.php

index 180d021bf8c52eb24a0d815ebef6b551022ed346..2366ce9c46821beda878efcf193afb36a0bb0f95 100644 (file)
                                $order_by = "updated DESC";
                        }
 
+                       $order_by = "score DESC, $order_by";
+
                        if ($override_order) {
                                $order_by = $override_order;
                        }