Skip to content

Commit

Permalink
Merge pull request #27 from Avanis-GmbH/type-fix
Browse files Browse the repository at this point in the history
[FIX] Fixed making the wrong attribute generic.
  • Loading branch information
HighQualityWaschbaer authored Mar 19, 2024
2 parents 9cf73ed + e2ac2dc commit f0f307d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions com/criteria.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ type Criteria struct {
Page int64 `json:"page,omitempty"`
Limit int64 `json:"limit,omitempty"`
IDs []string `json:"ids,omitempty"`
Filter []CriteriaFilter `json:"filter,omitempty"`
PostFilter []CriteriaFilter `json:"postFilter,omitempty"`
Filter []interface{} `json:"filter,omitempty"`
PostFilter []interface{} `json:"postFilter,omitempty"`
Sort []CriteriaSort `json:"sort,omitempty"`
Associations map[string]Criteria `json:"associations,omitempty"`
Term string `json:"term,omitempty"`
TotalCountMode int `json:"totalCountMode,omitempty"`
Query []interface{} `json:"query,omitempty"`
Query []CriteriaQuery `json:"query,omitempty"`
}

// CriteriaFilter is the struct that defines a filter to be applied when searching.
Expand Down

0 comments on commit f0f307d

Please sign in to comment.