Skip to content

Conversation

@nattsw
Copy link
Contributor

@nattsw nattsw commented Jun 30, 2025

For privileged users in restrict_translation_by_group, we show the 🌐 per post. Showing the 🌐 depends on the post's locale. This PR ensures locale is preloaded to prevent N+1 and adds an index on post_locale for the post_id.

@nattsw nattsw merged commit 572549b into main Jul 1, 2025
6 checks passed
@nattsw nattsw deleted the add-index branch July 1, 2025 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants