fix(ipam): Add comments field to ASN search indexing (#22739)

Include comments field in ASN search with weight 5000 to enable
full-text search on ASN comment content.

Fixes #22736
This commit is contained in:
Martin Hauser 2026-07-22 20:58:48 +02:00 committed by GitHub
parent 98c94f5fc7
commit 84a024babd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class ASNIndex(SearchIndex):
('asn', 100),
('prefixed_name', 110),
('description', 500),
('comments', 5000),
)
display_attrs = ('rir', 'role', 'tenant', 'description')