strapi / strapi

🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.
https://strapi.io
Other
60.67k stars 7.58k forks source link

Returning to Default Locale (EN) does not Reset the Filter #20209

Open patelfahimg opened 2 weeks ago

patelfahimg commented 2 weeks ago

Bug report

Required System information

Describe the bug

I have attached video with English audio. Its really hard to explain in writing. In short, the locale filter in the drop down continue to show the previously selected locale and not resetting to EN.

Steps to reproduce the behavior

  1. npx create-strapi-app@latest my-project --quickstart
  2. log into Strapi V4
  3. Select Resources collection from Content Manager
  4. on the right hand side top of the resource table/ index, select a locale from the locale drop down
  5. then click Resources collection on the left nav list

Expected behavior

Locale filter should have correct locale loaded when user click on collection type again

Screenshots

https://github.com/strapi/strapi/assets/93124968/3282ebc7-a767-429f-9b86-3637301a1d45

If applicable, add screenshots to help explain your problem.

Code snippets

If applicable, add code samples to help explain your problem.

Additional context

Add any other context about the problem here.