mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Limit by 200
This commit is contained in:
parent
6e4ebd4d1f
commit
dbbfd75952
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