Skip to content

Commit

Permalink
fix: mongo query
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Oct 23, 2024
1 parent 0af724d commit 226ae32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/repository/testworkflow/mongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,11 @@ func composeQueryAndOpts(filter Filter) (bson.M, *options.FindOptions) {
}

if filter.ActorNameDefined() {
query["runningContext.actor.name"] = filter.ActorName()
query["runningcontext.actor.name"] = filter.ActorName()
}

if filter.ActorTypeDefined() {
query["runningContext.actor.type"] = filter.ActorType()
query["runningcontext.actor.type"] = filter.ActorType()
}

opts.SetSkip(int64(filter.Page() * filter.PageSize()))
Expand Down

0 comments on commit 226ae32

Please sign in to comment.