fixed filter bug versions api and set required on manufacturer for softwareproducts add

This commit is contained in:
Hedde van der Heide
2022-05-19 11:06:34 +02:00
parent e952111a53
commit 4bc418a5d0
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -23,7 +23,9 @@ class SoftwareProductVersionFilterSet(NetBoxModelFilterSet):
"""Filter capabilities for SoftwareProductVersion instances."""
class Meta:
model = SoftwareProductVersion
fields = tuple()
fields = (
"software_product",
)
def search(self, queryset, name, value):
"""Perform the filtered search."""