mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:29:22 +08:00
d77e31b7e9
We are using preload to load tags into topics. When later we try to use `order` or `pluck` it is causing N+1 Usually, topics don't have many tags so sorting using ruby should be reasonably performant. |
||
---|---|---|
.. | ||
email_logs_mixin.rb | ||
topic_tags_mixin.rb | ||
user_auth_tokens_mixin.rb | ||
user_primary_group_mixin.rb |