Skip to content

Commit e5602ab

Browse files
committed
Closes #5848: Filter custom fields by content type in format <app_label>.<model>
1 parent a296a9e commit e5602ab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/release-notes/version-2.11.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Enhancements (from Beta)
66

7+
* [#5848](https://github.com/netbox-community/netbox/issues/5848) - Filter custom fields by content type in format `<app_label>.<model>`
78
* [#6088](https://github.com/netbox-community/netbox/issues/6088) - Improved table configuration form
89
* [#6097](https://github.com/netbox-community/netbox/issues/6097) - Redirect old slug-based object views
910
* [#6109](https://github.com/netbox-community/netbox/issues/6109) - Add device counts to locations table

netbox/extras/filters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def __init__(self, *args, **kwargs):
9090

9191

9292
class CustomFieldFilterSet(django_filters.FilterSet):
93+
content_types = ContentTypeFilter()
9394

9495
class Meta:
9596
model = CustomField

0 commit comments

Comments
 (0)