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 (#10643)
  • Loading branch information
Lily Kuang authored Aug 19, 2020
1 parent d095387 commit 3f5d5cc
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 3f5d5cc

Please sign in to comment.