cms
cms copied to clipboard
Navigation tree's losing locale after editing a page
Bug description
When using collections in a multi locale environment; the selected locale is lost after you save an page. For example, my default language is NL, but the site is multilanguage and also available in EN.
In order to see the tree in EN, I switch locale to EN which gives me the tree for EN. When clicking on a page to edit (in EN) and save this page it redirects the user back the tree, but the EN locale is lost.
For end-users; this is quite annoying because you continuously have to change the tree locale
How to reproduce
Use a tree with multiple languages
Logs
No response
Environment
Statamic 3.2.33 Pro
Laravel 8.83.0
PHP 8.1.5
aryehraber/statamic-uuid 2.0.3
doublethreedigital/duplicator 2.1.0
parfaitementweb/statamic-fast-seo 1.0.3
pecotamic/sitemap 1.2.7
rias/statamic-redirect 2.0.0
statamic/collaboration 0.3.0
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
No response
Additional details
It also touches a bit on https://github.com/statamic/cms/issues/4581