Explorar o código

Fix event log filtering

ghorsington %!s(int64=4) %!d(string=hai) anos
pai
achega
66d82d27ad
Modificáronse 1 ficheiros con 1 adicións e 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,