nat
(Natalie T)
November 6, 2025, 3:35pm
6
Yeah that’s right.
The /posts.json?post_ids does cater for “show original”, but the issue is due to the frontend store just loading the existing posts. Here’s a fix that also addresses the annoying jump back to first post.
main ← cookie-post-21
opened 03:31PM - 06 Nov 25 UTC
Meta: https://meta.discourse.org/t/localization-of-posts-on-topics-with-more-tha… n-20-posts/387541
There exists a bug due to the frontend store keeping the 'old' posts:
- Go to a translated topic with more than 20 posts
- Scroll to 21st post
- Toggle "Show Original"
- Get sent back to 1st post (<- bug, should stay at 21st) untranslated
- Scroll to 21st post
- See translated post (<- bug, should be untranslated)
This PR fixes the two issues
### Before 🎥
https://github.com/user-attachments/assets/748df681-2b55-4deb-9c57-0a4f481b752b
### After 🎥
https://github.com/user-attachments/assets/85062935-982e-4fb5-a0a4-54ee6b3dbd97
4 Likes