Explorar el Código

Updates PowerOutletIndex to display status field in results

This seemed inline with status fields on other model search indexes
Jason Novinger hace 1 año
padre
commit
f2a09333d7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/dcim/search.py

+ 1 - 1
netbox/dcim/search.py

@@ -224,7 +224,7 @@ class PowerOutletIndex(SearchIndex):
         ('label', 200),
         ('description', 500),
     )
-    display_attrs = ('device', 'label', 'type', 'description')
+    display_attrs = ('device', 'label', 'type', 'status', 'description')
 
 
 @register_search