discourse-translator/app/models
Natalie Tay 572549bdc0
DEV: Prevent N+1 on topic show and add index on post_locales for post_id (#314)
For privileged users in restrict_translation_by_group, we show the 🌐 per post. Showing the 🌐 depends on the post's locale. This commit ensures locale is preloaded to prevent N+1 and adds an index on post_locale for the post_id.
2025-07-01 12:08:08 +08:00
..
concerns/discourse_translator FIX: Don't double cook (#297) 2025-05-13 14:39:01 +08:00
discourse_translator DEV: Prevent N+1 on topic show and add index on post_locales for post_id (#314) 2025-07-01 12:08:08 +08:00