mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#10560: Add new fields to indexers
This commit is contained in:
@ -7,6 +7,7 @@ class ClusterIndex(SearchIndex):
|
||||
model = models.Cluster
|
||||
fields = (
|
||||
('name', 100),
|
||||
('description', 500),
|
||||
('comments', 5000),
|
||||
)
|
||||
|
||||
@ -36,6 +37,7 @@ class VirtualMachineIndex(SearchIndex):
|
||||
model = models.VirtualMachine
|
||||
fields = (
|
||||
('name', 100),
|
||||
('description', 500),
|
||||
('comments', 5000),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user