]> git.wh0rd.org Git - tt-rss.git/commitdiff
UNDO: tag cloud shows top 100 instead of top 50
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 17 May 2007 12:00:11 +0000 (13:00 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 17 May 2007 12:00:11 +0000 (13:00 +0100)
functions.php
modules/popup-dialog.php

index 46c84509ebc2dfa1fd333bef70e863530c068112..0bcbc5e47944ef5e6d0a91f32b28907f7130c525 100644 (file)
        
                $query = "SELECT tag_name, COUNT(post_int_id) AS count 
                        FROM ttrss_tags WHERE owner_uid = ".$_SESSION["uid"]." 
-                       GROUP BY tag_name ORDER BY count DESC LIMIT 100";
+                       GROUP BY tag_name ORDER BY count DESC LIMIT 50";
 
                $result = db_query($link, $query);
 
index 144c0996748c84ee42e68217223a8d4982bcf804..3011f8c1be1138976ecd57a5794930cdb45dc50f 100644 (file)
                        print "<div id=\"infoBoxTitle\">".__('Tag Cloud')."</div>";
                        print "<div class=\"infoBoxContents\">";
 
-                       print "Showing top 100 most popular tags (<a 
+                       print "Showing top 50 most popular tags (<a 
                                href='javascript:toggleTags(true)'>show all</a>):<br/>";
 
                        print "<div class=\"tagCloudContainer\">";