diff --git a/app/models/topic.rb b/app/models/topic.rb index 4434206..464ad29 100644 --- a/app/models/topic.rb +++ b/app/models/topic.rb @@ -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