Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelAdmin search/filter destroys admin interface when admin locale is set to Czech or Slovak language #3563

Closed
fuxo opened this issue Oct 16, 2014 · 2 comments

Comments

@fuxo
Copy link

fuxo commented Oct 16, 2014

When the admin interface is in Czech (cs) or Slovak (sk) language, searching for a dataobject using filter in a custom ModelAdmin and clicking on a found entry completely breaks admin interface, e.g. left menu is doubled.
This problem is probably applicable for other languages as well, I just checked these two.
However, there is no issue when locale is set to english/german etc.

broken admin

@kinglozzer
Copy link
Member

The form appears like this because SS_HTTPRequest::isAjax() returns false when it shouldn’t. When a parameter such as action_search=Použít+filtr is present in the URL, the X-Requested-With header isn’t added. I have no idea why!

@tractorcow
Copy link
Contributor

Fixed in #3564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants