1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#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

@@ -180,7 +180,7 @@ class ImageAttachmentFilterForm(SavedFiltersMixin, FilterForm):
)
content_type_id = ContentTypeChoiceField(
label=_('Content type'),
queryset=ContentType.objects.filter(FeatureQuery('custom_fields').get_query()),
queryset=ContentType.objects.filter(FeatureQuery('image_attachments').get_query()),
required=False
)
name = forms.CharField(