From 84a024babd226b5f335221e9d2e3b38d6401a3b5 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Wed, 22 Jul 2026 20:58:48 +0200 Subject: [PATCH] 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 --- netbox/ipam/search.py | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox/ipam/search.py b/netbox/ipam/search.py index ea0d41db3..ad5086768 100644 --- a/netbox/ipam/search.py +++ b/netbox/ipam/search.py @@ -22,6 +22,7 @@ class ASNIndex(SearchIndex): ('asn', 100), ('prefixed_name', 110), ('description', 500), + ('comments', 5000), ) display_attrs = ('rir', 'role', 'tenant', 'description')