mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
perf: filter events by instance ids (#7489)
fix: filter events by instance ids
This commit is contained in:
parent
437c834a40
commit
38777b478e
@ -221,7 +221,7 @@ func eventsScanner(useV1 bool) func(scanner scan, dest interface{}) (err error)
|
||||
}
|
||||
|
||||
func prepareConditions(criteria querier, query *repository.SearchQuery, useV1 bool) (string, []any) {
|
||||
clauses, args := prepareQuery(criteria, useV1, query.InstanceID, query.ExcludedInstances)
|
||||
clauses, args := prepareQuery(criteria, useV1, query.InstanceID, query.InstanceIDs, query.ExcludedInstances)
|
||||
if clauses != "" && len(query.SubQueries) > 0 {
|
||||
clauses += " AND "
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user