Browse Source

Fix event log filtering

ghorsington 3 years ago
parent
commit
66d82d27ad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/src/routes/logs/poll.ts

+ 1 - 0
web/src/routes/logs/poll.ts

@@ -58,6 +58,7 @@ export const get = async (req: ExpressRequest, res: ExpressResponse): GetResult
 
     const DEFAULT_LIMIT = 50;
     const result = await tryDo(queryEvents({
+        from: new Date(0),
         fields: ["level", "message", "label", "timestamp"],
         limit: isNumber(params.limit) ? +params.limit : DEFAULT_LIMIT,
         includeIds: true,