|
@@ -6,7 +6,7 @@ from netbox.search import SearchIndex, register_search
|
|
|
class AggregateIndex(SearchIndex):
|
|
class AggregateIndex(SearchIndex):
|
|
|
model = models.Aggregate
|
|
model = models.Aggregate
|
|
|
fields = (
|
|
fields = (
|
|
|
- ('prefix', 100),
|
|
|
|
|
|
|
+ ('prefix', 120),
|
|
|
('description', 500),
|
|
('description', 500),
|
|
|
('date_added', 2000),
|
|
('date_added', 2000),
|
|
|
('comments', 5000),
|
|
('comments', 5000),
|
|
@@ -70,7 +70,7 @@ class L2VPNIndex(SearchIndex):
|
|
|
class PrefixIndex(SearchIndex):
|
|
class PrefixIndex(SearchIndex):
|
|
|
model = models.Prefix
|
|
model = models.Prefix
|
|
|
fields = (
|
|
fields = (
|
|
|
- ('prefix', 100),
|
|
|
|
|
|
|
+ ('prefix', 110),
|
|
|
('description', 500),
|
|
('description', 500),
|
|
|
('comments', 5000),
|
|
('comments', 5000),
|
|
|
)
|
|
)
|