mirror of
https://github.com/apache/superset.git
synced 2026-04-12 04:37:49 +00:00
fix(plugins): Fix dashboard filter for Table and Big Number with Time Comparison (#29517)
This commit is contained in:
@@ -592,8 +592,9 @@ class QueryContextProcessor:
|
||||
|
||||
if time_grain:
|
||||
# move the temporal column to the first column in df
|
||||
col = df.pop(join_keys[0])
|
||||
df.insert(0, col.name, col)
|
||||
if join_keys:
|
||||
col = df.pop(join_keys[0])
|
||||
df.insert(0, col.name, col)
|
||||
|
||||
# removes columns created only for join purposes
|
||||
df.drop(
|
||||
|
||||
Reference in New Issue
Block a user