diff --git a/app/routers/tags.py b/app/routers/tags.py index aa965ec..227ba48 100644 --- a/app/routers/tags.py +++ b/app/routers/tags.py @@ -31,7 +31,7 @@ async def read_tags( if name: - filters.append({"name": {"$eq": name, "$options": "i"}}) + filters.append({"name": {"$regex": name, "$options": "i"}}) # Add ID filter if id_tags: