#13426: Employ proper feature keys for image attachment & contact filter forms

This commit is contained in:
Jeremy Stretch
2023-08-09 10:41:40 -04:00
parent 5dce5563ab
commit 16bcb1dbb0
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ class ContactAssignmentFilterForm(NetBoxModelFilterSetForm):
)
content_type_id = ContentTypeMultipleChoiceField(
queryset=ContentType.objects.all(),
limit_choices_to=FeatureQuery('custom_fields'),
limit_choices_to=FeatureQuery('contacts'),
required=False,
label=_('Object type')
)