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

16424 - Allow filtering of Devices by Cluster and Cluster Group #16674

Conversation

Julio-Oliveira-Encora
Copy link
Contributor

Fixes: #16424

It was added to filtering Devices by Cluster Group and Cluster.

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Julio-Oliveira-Encora could you please add filterset tests for these?

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that for models with a slug field, we need filters for both the ID and slug. I went ahead and added the second filter & updated the test. Thanks @Julio-Oliveira-Encora!

@jeremystretch jeremystretch merged commit c506f60 into netbox-community:develop Jun 26, 2024
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow filtering of Devices by Cluster and Cluster Group
2 participants