This commit is contained in:
mr
2024-10-23 09:55:08 +02:00
parent 158d3aacc8
commit 84deb17e37
2 changed files with 1 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ func (wfa *peerMongoAccessor) Search(filters *dbs.Filters, search string) ([]uti
filters = &dbs.Filters{
Or: map[string][]dbs.Filter{ // search by name if no filters are provided
"abstractobject.name": {{Operator: dbs.LIKE.String(), Value: search}},
"url": {{Operator: dbs.LIKE.String(), Value: search}},
},
}
}