Sfoglia il codice sorgente

Fixes: #18192 - Use assigned_object instead of interface in display_attrs (#18199)

* Use assigned_object instead of interface in display_attrs

* Remove mac_address
bctiemann 1 anno fa
parent
commit
0219dd7a70
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      netbox/dcim/search.py

+ 1 - 1
netbox/dcim/search.py

@@ -105,7 +105,7 @@ class MACAddressIndex(SearchIndex):
         ('mac_address', 100),
         ('description', 500),
     )
-    display_attrs = ('mac_address', 'interface')
+    display_attrs = ('assigned_object', 'description')
 
 
 @register_search