소스 검색

Updates PowerOutletIndex to display status field in results

This seemed inline with status fields on other model search indexes
Jason Novinger 1 년 전
부모
커밋
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