From dbbfd75952fc77866a1833729e529c746d4a1f98 Mon Sep 17 00:00:00 2001 From: Chris Blanchard Date: Sat, 5 Sep 2015 19:16:14 +0100 Subject: [PATCH] Limit by 200 --- app/models/topic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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