فهرست منبع

Updates PowerOutletIndex to display status field in results

This seemed inline with status fields on other model search indexes
Jason Novinger 11 ماه پیش
والد
کامیت
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