mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 04:28:17 -06:00
feat: Ability to do global search by tag
This commit is contained in:
parent
d5bdc3f567
commit
d96c9a7945
@ -182,7 +182,7 @@ SEARCH_TYPES = OrderedDict((
|
|||||||
}),
|
}),
|
||||||
# Other
|
# Other
|
||||||
('tag', {
|
('tag', {
|
||||||
'queryset': Tag.objects.prefetch_related('prefix'),
|
'queryset': Tag.objects.prefetch_related('prefix', 'ipaddress', 'vlan', 'device', 'location', 'site'),
|
||||||
'filterset': TagFilterSet,
|
'filterset': TagFilterSet,
|
||||||
'table': TagTable,
|
'table': TagTable,
|
||||||
'url': 'extras:tag_list',
|
'url': 'extras:tag_list',
|
||||||
|
Loading…
Reference in New Issue
Block a user