Skip to content

Commit

Permalink
fix: remove duplicated params and cache_timeout from list_columns; ad…
Browse files Browse the repository at this point in the history
…d viz_type to list_columns (apache#10643)
  • Loading branch information
Lily Kuang authored and auxten committed Nov 20, 2020
1 parent 88e6e64 commit a9c526b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superset/charts/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,11 @@ class ChartRestApi(BaseSupersetModelRestApi):
"table.table_name",
"thumbnail_url",
"url",
"params",
"cache_timeout",
"owners.id",
"owners.username",
"owners.first_name",
"owners.last_name",
"viz_type",
]
list_select_columns = list_columns + ["changed_by_fk", "changed_on"]
order_columns = [
Expand Down

0 comments on commit a9c526b

Please sign in to comment.