mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-19 11:52:22 -06:00
initial pass on migrating to custom tag model with color and comments fields
This commit is contained in:
@@ -157,7 +157,7 @@ class ObjectListView(View):
|
||||
|
||||
# Construct queryset for tags list
|
||||
if hasattr(model, 'tags'):
|
||||
tags = model.tags.annotate(count=Count('taggit_taggeditem_items')).order_by('name')
|
||||
tags = model.tags.annotate(count=Count('extras_taggeditem_items')).order_by('name')
|
||||
else:
|
||||
tags = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user