Limit by 200

This commit is contained in:
Chris Blanchard 2015-09-05 19:16:14 +01:00
parent 6e4ebd4d1f
commit dbbfd75952

View file

@ -48,7 +48,7 @@ class Topic < ActiveRecord::Base
FROM posts
GROUP BY topic_id
ORDER BY max_id DESC
LIMIT 10) AS T
LIMIT 200) AS T
INNER JOIN topics
ON T.topic_id = topics.id
INNER JOIN forums