Просмотр исходного кода

Updates PowerOutletIndex to display status field in results

This seemed inline with status fields on other model search indexes
Jason Novinger 11 месяцев назад
Родитель
Сommit
f2a09333d7
1 измененных файлов с 1 добавлено и 1 удалено
  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