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

TagFilter should call unrestricted() on its queryset

This commit is contained in:
Jeremy Stretch
2020-06-29 15:36:02 -04:00
parent 15f32bdd73
commit af778f8fca
3 changed files with 3 additions and 3 deletions

View File

@ -596,7 +596,7 @@ class TagFilterField(forms.MultipleChoiceField):
def __init__(self, model, *args, **kwargs):
def get_choices():
tags = model.tags.annotate(
tags = model.tags.all().unrestricted().annotate(
count=Count('extras_taggeditem_items')
).order_by('name')
return [