add in
This commit is contained in:
parent
3189b08b09
commit
1d7ec61982
@ -192,6 +192,9 @@ async def search_events(
|
|||||||
if text_filter:
|
if text_filter:
|
||||||
filters.append(text_filter)
|
filters.append(text_filter)
|
||||||
|
|
||||||
|
if tags is not None:
|
||||||
|
filters.append({"tags": {"$in": tags}})
|
||||||
|
|
||||||
# Combine filters
|
# Combine filters
|
||||||
object_search = {"$and": filters} if filters else {}
|
object_search = {"$and": filters} if filters else {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user