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

User search does not work if locale param is part of the URL #281

Open
arusa opened this issue Mar 15, 2024 · 0 comments
Open

User search does not work if locale param is part of the URL #281

arusa opened this issue Mar 15, 2024 · 0 comments

Comments

@arusa
Copy link
Contributor

arusa commented Mar 15, 2024

Describe the bug

When you try to search for users in the "Scoped Admins" feature, you can't find any users if the end of the URL contains something like ?locale=en.

Example: https://your.decidim.host/admin/decidim_awesome/config/admins?locale=en

In the dev tools you will see requests to this URL that contains 2 "?":

https://decidim-audit-org.participation.works/admin/decidim_awesome/users?locale=en?term=pentester%2Bdecidimawesomescopedadmin%40pentest.ait.ac.at

To Reproduce

See above

Expected behavior

To return users matching the query.

Desktop (please complete the following information):

  • OS: MacOS
  • Latest Safari and Firefox

Additional context

I tried it with the develop branch commit 7b356fe

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

No branches or pull requests

1 participant