Fixes: #18316 - Fix PrefixIndex reference to 'site' (#18322)

* Fix PrefixIndex reference to 'site'

* Fix ClusterIndex reference to 'site' and add 'scope' to WirelessLANIndex
This commit is contained in:
bctiemann 2025-01-07 10:47:05 -05:00 committed by GitHub
parent 4ae5529362
commit e518f08604
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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