fix options regex #39
@ -31,7 +31,7 @@ async def read_tags(
|
|||||||
|
|
||||||
|
|
||||||
if name:
|
if name:
|
||||||
filters.append({"name": {"$eq": name, "$options": "i"}})
|
filters.append({"name": {"$regex": name, "$options": "i"}})
|
||||||
|
|
||||||
# Add ID filter
|
# Add ID filter
|
||||||
if id_tags:
|
if id_tags:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user