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

Adds device type and role to device component filter #12504

Merged
merged 3 commits into from
May 31, 2023

Conversation

abhi1693
Copy link
Member

@abhi1693 abhi1693 commented May 5, 2023

Fixes: #12015

@abhi1693 abhi1693 requested a review from jeremystretch May 5, 2023 15:33
@@ -1219,6 +1219,28 @@ class DeviceComponentFilterSet(django_filters.FilterSet):
to_field_name='name',
label=_('Device (name)'),
)
device_type_id = django_filters.ModelMultipleChoiceFilter(
Copy link
Member

Choose a reason for hiding this comment

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

Could you add filtersets tests for these under the component filterset test cases please?

@jeremystretch jeremystretch merged commit bd88ee7 into develop May 31, 2023
@jeremystretch jeremystretch deleted the feat/12015-device-type-role-filterset branch May 31, 2023 13:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 1, 2023
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.

Add device type/role to Interface filter
2 participants