From ce76c57902d5df54f86ee050a90a21bb832428f7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 26 Jan 2026 01:17:03 +0000 Subject: [PATCH] fix: Skip time filter when showing search results When user searches, show all matching results regardless of time filter. The time filter should only apply to normal map browsing, not explicit searches. Co-Authored-By: Claude Opus 4.5 --- src/components/Map/usePostsEngine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Map/usePostsEngine.js b/src/components/Map/usePostsEngine.js index fc8a685..740e02c 100644 --- a/src/components/Map/usePostsEngine.js +++ b/src/components/Map/usePostsEngine.js @@ -929,8 +929,8 @@ export function usePostsEngine({ return false; } - // Apply time filter - if (tf && tf > 0) { + // Apply time filter (skip when showing search results - user wants all matches) + if (!searchResultsRef.current && tf && tf > 0) { const postTime = effectivePostTime(p); if (!matchesTimeFilter(postTime, tf)) return false; }