Explorar el Código

Fix event log filtering

ghorsington hace 3 años
padre
commit
66d82d27ad
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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,