(20241010) Custom filter logs bug fixed.
This commit is contained in:
@@ -322,7 +322,7 @@ async def get_logs_by_filter(
|
|||||||
|
|
||||||
fetched_logs = await current_app.mongo.find_many(
|
fetched_logs = await current_app.mongo.find_many(
|
||||||
collection = "logs",
|
collection = "logs",
|
||||||
filter = current_app.mongo.dict_to_dot_notation(inbound_data["filter"]),
|
filter = inbound_data["filter"],
|
||||||
projection = inbound_data.get("projection", {"_id": False}),
|
projection = inbound_data.get("projection", {"_id": False}),
|
||||||
sort = inbound_data.get("sort", {"_id": -1}),
|
sort = inbound_data.get("sort", {"_id": -1}),
|
||||||
limit = inbound_data.get("limit", 25),
|
limit = inbound_data.get("limit", 25),
|
||||||
|
|||||||
Reference in New Issue
Block a user