FEATURE: Forced summary mode for megalodon topics.
This is mainly done for performance reasons and megalodon topics are usually a byproduct of imports where site setting limits are not respected.
This commit is contained in:
+1
-1
@@ -355,7 +355,7 @@ class Post < ActiveRecord::Base
|
||||
SELECT posts.id
|
||||
FROM posts
|
||||
WHERE posts.topic_id = #{topic_id.to_i}
|
||||
AND post_number = 1
|
||||
AND posts.post_number = 1
|
||||
) UNION
|
||||
(
|
||||
SELECT p1.id
|
||||
|
||||
Reference in New Issue
Block a user