Skip to content

Commit eeb15ab

Browse files
arthansonjeremystretch
authored andcommitted
12594 add config context to object count / list widget
1 parent d5be59e commit eeb15ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netbox/extras/dashboard/widgets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def get_content_type_labels():
3535
return [
3636
(content_type_identifier(ct), content_type_name(ct))
3737
for ct in ContentType.objects.filter(
38-
FeatureQuery('export_templates').get_query() | Q(app_label='extras', model='objectchange')
38+
FeatureQuery('export_templates').get_query() | Q(app_label='extras', model='objectchange') |
39+
Q(app_label='extras', model='configcontext')
3940
).order_by('app_label', 'model')
4041
]
4142

0 commit comments

Comments
 (0)