]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/publictagcloudsection.php
Merged
[quix0rs-gnu-social.git] / lib / publictagcloudsection.php
index 1d9dd0e75124900db1e57067a2ccac01af4420f6..1ba4fa0cf4a1b564dde8f74c4ad14399787f1e2e 100644 (file)
@@ -50,7 +50,7 @@ class PublicTagCloudSection extends TagCloudSection
     function title()
     {
         // TRANS: Title for inbox tag cloud section.
-        return _m('TITLE', 'Trending topics');
+        return _m('TITLE', 'Trends');
     }
 
     function getTags()
@@ -77,7 +77,7 @@ class PublicTagCloudSection extends TagCloudSection
                 $weightexpr = common_sql_weight('notice_tag.created', common_config('tag', 'dropoff'));
                 // @fixme should we use the cutoff too? Doesn't help with indexing per-user.
 
-                $qry = 'SELECT notice_tag.tag, '.
+                $qry = 'SELECT notice_tag.tag, notice_tag.notice_id, '.
                     $weightexpr . ' as weight ' .
                     'FROM notice_tag JOIN notice ' .
                     'ON notice_tag.notice_id = notice.id ' .