neo local peer draft

This commit is contained in:
mr 2024-10-30 11:58:14 +01:00
parent 20ce1f5ef3
commit 5f05b73366

View File

@ -75,7 +75,7 @@ func (wfa *peerMongoAccessor) Search(filters *dbs.Filters, search string) ([]uti
if err == nil { if err == nil {
filters = &dbs.Filters{ filters = &dbs.Filters{
Or: map[string][]dbs.Filter{ // search by name if no filters are provided Or: map[string][]dbs.Filter{ // search by name if no filters are provided
"state": {{Operator: dbs.LIKE.String(), Value: s}}, "state": {{Operator: dbs.EQUAL.String(), Value: s}},
}, },
} }
} else { } else {