mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 16:31:33 +00:00
perf: ip -> address
This commit is contained in:
@@ -144,7 +144,7 @@ class CommandExecutionHostRelationViewSet(OrgRelationMixin, OrgBulkModelViewSet)
|
||||
queryset = queryset.annotate(
|
||||
asset_display=Concat(
|
||||
F('asset__name'), Value('('),
|
||||
F('asset__ip'), Value(')')
|
||||
F('asset__address'), Value(')')
|
||||
)
|
||||
)
|
||||
return queryset
|
||||
|
Reference in New Issue
Block a user