mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #14503: Include additional display attributes for search indexers
This commit is contained in:
@@ -9,6 +9,7 @@ class JournalEntryIndex(SearchIndex):
|
||||
('comments', 5000),
|
||||
)
|
||||
category = 'Journal'
|
||||
display_attrs = ('kind', 'created_by')
|
||||
|
||||
|
||||
@register_search
|
||||
@@ -18,3 +19,4 @@ class WebhookEntryIndex(SearchIndex):
|
||||
('name', 100),
|
||||
('description', 500),
|
||||
)
|
||||
display_attrs = ('description',)
|
||||
|
Reference in New Issue
Block a user