mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 04:18:01 +00:00
fix: filter event_data (#2011)
This commit is contained in:
parent
b1c26c12ab
commit
7ebf0333c3
@ -141,9 +141,11 @@ func prepareCondition(criteria querier, filters [][]*repository.Filter) (clause
|
|||||||
case map[string]interface{}:
|
case map[string]interface{}:
|
||||||
var err error
|
var err error
|
||||||
value, err = json.Marshal(value)
|
value, err = json.Marshal(value)
|
||||||
logging.Log("SQL-BSsNy").OnError(err).Warn("unable to marshal search value")
|
if err != nil {
|
||||||
|
logging.Log("SQL-BSsNy").WithError(err).Warn("unable to marshal search value")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
subClauses = append(subClauses, getCondition(criteria, f))
|
subClauses = append(subClauses, getCondition(criteria, f))
|
||||||
if subClauses[len(subClauses)-1] == "" {
|
if subClauses[len(subClauses)-1] == "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user