diff --git a/manager/controllers/common_attributes.go b/manager/controllers/common_attributes.go index 181d9a2ab..a253852c5 100644 --- a/manager/controllers/common_attributes.go +++ b/manager/controllers/common_attributes.go @@ -41,7 +41,7 @@ type SystemTags struct { } type SystemGroups struct { - Groups SystemGroupsList `json:"groups" csv:"groups" gorm:"-" order_query:"ih.groups->>0"` + Groups SystemGroupsList `json:"groups" csv:"groups" gorm:"-" order_query:"ih.groups->0->>'name'"` } type BaselineAttributes struct {