mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
Limit by 200
This commit is contained in:
parent
fc7dd7286e
commit
d4db1aafdf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue