fix(FiltersBadge): world map wont show filter icon after refresh page (#37260)

(cherry picked from commit 88a14f2ba0)
This commit is contained in:
Luis Sánchez
2026-02-11 10:33:32 -03:00
committed by Joe Li
parent c60cafe755
commit 843fd75eaa
8 changed files with 778 additions and 12 deletions

View File

@@ -98,6 +98,18 @@ class QueryContextProcessor:
force_cached=force_cached,
)
# If cache is loaded but missing applied_filter_columns and query has filters,
# treat as cache miss to ensure fresh query with proper applied_filter_columns
if (
query_obj
and cache_key
and cache.is_loaded
and not cache.applied_filter_columns
and query_obj.filter
and len(query_obj.filter) > 0
):
cache.is_loaded = False
if query_obj and cache_key and not cache.is_loaded:
try:
if invalid_columns := [