From dbbe280f17bf677bf9461c4f1ceca2bfc337b74a Mon Sep 17 00:00:00 2001 From: you Date: Mon, 23 Mar 2026 00:04:03 +0000 Subject: [PATCH] Fix: don't apply time window when navigating to specific packet hash Direct links like #/packets/HASH should always show the packet regardless of the time window filter. --- public/index.html | 2 +- public/packets.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 2e590ba..45b5921 100644 --- a/public/index.html +++ b/public/index.html @@ -86,7 +86,7 @@ - + diff --git a/public/packets.js b/public/packets.js index f9e9096..bd8d6a6 100644 --- a/public/packets.js +++ b/public/packets.js @@ -372,7 +372,7 @@ try { const params = new URLSearchParams(); const windowMin = Number(document.getElementById('fTimeWindow')?.value || 15); - if (windowMin > 0) { + if (windowMin > 0 && !filters.hash) { const since = new Date(Date.now() - windowMin * 60000).toISOString(); params.set('since', since); }