1
0
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:
jeremystretch
2022-11-15 10:37:35 -05:00
parent 94dd07e1e6
commit ecf5304a14
6 changed files with 53 additions and 3 deletions

View File

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