This commit is contained in:
Valentin CZERYBA 2024-12-16 23:53:46 +01:00
parent 3189b08b09
commit 1d7ec61982

View File

@ -192,6 +192,9 @@ async def search_events(
if text_filter:
filters.append(text_filter)
if tags is not None:
filters.append({"tags": {"$in": tags}})
# Combine filters
object_search = {"$and": filters} if filters else {}