tag cloud shows top 100 instead of top 50

This commit is contained in:
Andrew Dolgov 2007-05-17 13:00:11 +01:00
parent 0979b696e4
commit 458cfa53e0
2 changed files with 2 additions and 2 deletions

View File

@ -3859,7 +3859,7 @@
$query = "SELECT tag_name, COUNT(post_int_id) AS count $query = "SELECT tag_name, COUNT(post_int_id) AS count
FROM ttrss_tags WHERE owner_uid = ".$_SESSION["uid"]." FROM ttrss_tags WHERE owner_uid = ".$_SESSION["uid"]."
GROUP BY tag_name ORDER BY count DESC LIMIT 50"; GROUP BY tag_name ORDER BY count DESC LIMIT 100";
$result = db_query($link, $query); $result = db_query($link, $query);

View File

@ -416,7 +416,7 @@
print "<div id=\"infoBoxTitle\">".__('Tag Cloud')."</div>"; print "<div id=\"infoBoxTitle\">".__('Tag Cloud')."</div>";
print "<div class=\"infoBoxContents\">"; print "<div class=\"infoBoxContents\">";
print "Showing top 50 most popular tags (<a print "Showing top 100 most popular tags (<a
href='javascript:toggleTags(true)'>show all</a>):<br/>"; href='javascript:toggleTags(true)'>show all</a>):<br/>";
print "<div class=\"tagCloudContainer\">"; print "<div class=\"tagCloudContainer\">";