main ← fix-posts-crawl
opened 09:44AM - 14 Nov 25 UTC
Meta: https://meta.discourse.org/t/tl-lang-crawler-view-not-showing-posts-in-lan…g/388443/6
When loading topics at `/t/:id` we use the `topic_view` and have some preloads:
https://github.com/discourse/discourse/blob/d4313be4859bd07d95c620b15179424a87d94ddd/lib/topic_view.rb#L925-L939
Unfortunately these preloads have been overridden in reaction's `TopicViewSerializer` as overriding posts with a new `post.includes` would create a new query, so we're using `Preloader` here to preserve existing associations.