1
0
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:
Jeremy Stretch
2023-12-21 14:24:05 -05:00
parent 326b54b7e0
commit 58f925c261
5 changed files with 22 additions and 16 deletions

View File

@@ -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',)