mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
* Fix PrefixIndex reference to 'site' * Fix ClusterIndex reference to 'site' and add 'scope' to WirelessLANIndex
This commit is contained in:
parent
4ae5529362
commit
e518f08604
@ -79,7 +79,7 @@ class PrefixIndex(SearchIndex):
|
|||||||
('description', 500),
|
('description', 500),
|
||||||
('comments', 5000),
|
('comments', 5000),
|
||||||
)
|
)
|
||||||
display_attrs = ('site', 'vrf', 'tenant', 'vlan', 'status', 'role', 'description')
|
display_attrs = ('scope', 'vrf', 'tenant', 'vlan', 'status', 'role', 'description')
|
||||||
|
|
||||||
|
|
||||||
@register_search
|
@register_search
|
||||||
|
@ -10,7 +10,7 @@ class ClusterIndex(SearchIndex):
|
|||||||
('description', 500),
|
('description', 500),
|
||||||
('comments', 5000),
|
('comments', 5000),
|
||||||
)
|
)
|
||||||
display_attrs = ('type', 'group', 'status', 'tenant', 'site', 'description')
|
display_attrs = ('type', 'group', 'status', 'tenant', 'scope', 'description')
|
||||||
|
|
||||||
|
|
||||||
@register_search
|
@register_search
|
||||||
|
@ -11,7 +11,7 @@ class WirelessLANIndex(SearchIndex):
|
|||||||
('auth_psk', 2000),
|
('auth_psk', 2000),
|
||||||
('comments', 5000),
|
('comments', 5000),
|
||||||
)
|
)
|
||||||
display_attrs = ('group', 'status', 'vlan', 'tenant', 'description')
|
display_attrs = ('group', 'status', 'vlan', 'tenant', 'scope', 'description')
|
||||||
|
|
||||||
|
|
||||||
@register_search
|
@register_search
|
||||||
|
Loading…
Reference in New Issue
Block a user