neo local peer draft
This commit is contained in:
parent
20ce1f5ef3
commit
5f05b73366
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user