Skip to content

Commit

Permalink
RHINENG-1835: sort groups by name
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Sep 21, 2023
1 parent dfa5747 commit e42e9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/controllers/common_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e42e9b0

Please sign in to comment.