mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: adding the 'contains_messages' column back
This commit is contained in:
@@ -199,7 +199,6 @@ class TopicQuery
|
||||
end
|
||||
|
||||
def prioritize_pinned_topics(topics, options)
|
||||
|
||||
pinned_clause = options[:category_id] ? "topics.category_id = #{options[:category_id].to_i} AND" : "pinned_globally AND "
|
||||
pinned_clause << " pinned_at IS NOT NULL "
|
||||
if @user
|
||||
|
||||
Reference in New Issue
Block a user