discourse/app/serializers/concerns
Krzysztof Kotlarek d77e31b7e9
FIX: sort using ruby to avoid N+1 queries (#10915)
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.
2020-10-14 18:20:41 +11:00
..
email_logs_mixin.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_tags_mixin.rb FIX: sort using ruby to avoid N+1 queries (#10915) 2020-10-14 18:20:41 +11:00
user_auth_tokens_mixin.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
user_primary_group_mixin.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00