Skip to content

Commit

Permalink
RHINENG-9077: fix sorting by groups and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Apr 5, 2024
1 parent e343592 commit 6005c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/controllers/common_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ type SystemTimestamps struct {
}

type SystemTags struct {
Tags SystemTagsList `json:"tags" csv:"tags" query:"ih.tags" gorm:"column:tags_json"`
Tags SystemTagsList `json:"tags" csv:"tags" query:"ih.tags" gorm:"column:tags"`
}

type SystemGroups struct {
Groups SystemGroupsList `json:"groups" csv:"groups" query:"ih.groups" gorm:"column:groups_json" order_query:"ih.groups->0->>'name'"`
Groups SystemGroupsList `json:"groups" csv:"groups" query:"ih.groups" gorm:"column:groups" order_query:"ih.groups->0->>'name'"`
}

type BaselineAttributes struct {
Expand Down

0 comments on commit 6005c78

Please sign in to comment.