mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 09:08:15 -06:00
Give serial field higher precedence for search
This commit is contained in:
parent
d54e3a139c
commit
db885dceb3
@ -39,8 +39,8 @@ class ClusterTypeIndex(SearchIndex):
|
||||
class VirtualMachineIndex(SearchIndex):
|
||||
model = models.VirtualMachine
|
||||
fields = (
|
||||
('serial', 60),
|
||||
('name', 100),
|
||||
('serial', 300),
|
||||
('description', 500),
|
||||
('comments', 5000),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user