Skip to content

Commit b9b3afc

Browse files
committed
Fixes: #153 - Changes display attribute from manufacturer to vendor
1 parent e2e3d91 commit b9b3afc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

netbox_lifecycle/search.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SupportSKUIndex(SearchIndex):
2222
('description', 4000),
2323
('comments', 5000),
2424
)
25-
display_attrs = ('manufacturer', 'description')
25+
display_attrs = ('vendor', 'description')
2626

2727

2828
@register_search
@@ -33,7 +33,7 @@ class SupportContractIndex(SearchIndex):
3333
('description', 4000),
3434
('comments', 5000),
3535
)
36-
display_attrs = ('vendor', 'start', 'renewal', 'end', 'description')
36+
display_attrs = ('contract', 'sku', 'device', 'license', 'description')
3737

3838

3939
@register_search
@@ -58,7 +58,7 @@ class LicenseIndex(SearchIndex):
5858
('description', 4000),
5959
('comments', 5000),
6060
)
61-
display_attrs = ('manufacturer', 'description')
61+
display_attrs = ('description', )
6262

6363

6464
@register_search

0 commit comments

Comments
 (0)