]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/publictagcloudsection.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / lib / publictagcloudsection.php
index bf88091a9020ab2324f018edb6e15c36ffa60af5..1ba4fa0cf4a1b564dde8f74c4ad14399787f1e2e 100644 (file)
@@ -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 ' .