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

GET /api/user/participants has not the expected behavior when using multiple parameters. #246

Open
doumdi opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@doumdi
Copy link
Member

doumdi commented Apr 2, 2024

Describe the bug
Some parameters are not taken into consideration when querying participants due to if/elif structure of the implementation of the /api/user/participants endpoint.

To Reproduce
Ex: Query a participant with username and specify its id_site and id_project. Will return participants with the name in any project or site.

Expected behavior
Handle multiple parameters and filter results accordingly.

@doumdi doumdi added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants