mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: N+1 query in suggested topics list.
This commit is contained in:
@@ -46,8 +46,6 @@ class TopicList
|
||||
if @opts[:category]
|
||||
@category = Category.find_by(id: @opts[:category_id])
|
||||
end
|
||||
|
||||
preloaded_custom_fields << DiscourseTagging::TAGS_FIELD_NAME if SiteSetting.tagging_enabled
|
||||
end
|
||||
|
||||
def tags
|
||||
|
||||
Reference in New Issue
Block a user