]> git.wh0rd.org Git - tt-rss.git/commitdiff
feed browser: fix sort
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 29 Dec 2005 16:45:02 +0000 (17:45 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 29 Dec 2005 16:45:02 +0000 (17:45 +0100)
backend.php

index 7b0594660b88b4c80b2913956edbc96a808ad610..f848ac5318da3ae905fd0245d1ea17801d562802 100644 (file)
 
                        $result = db_query($link, "SELECT feed_url,count(id) AS subscribers 
                                FROM ttrss_feeds WHERE auth_login = '' AND auth_pass = '' 
-                               GROUP BY feed_url ORDER BY subscribers LIMIT 50");
+                               GROUP BY feed_url ORDER BY subscribers DESC LIMIT 50");
                        
                        print "<ul class='browseFeedList' id='browseFeedList'>";