Sfoglia il codice sorgente

Fix event log filtering

ghorsington 4 anni fa
parent
commit
66d82d27ad
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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,