Skip to content

Commit

Permalink
[explorev2] no bootstrap data, just metadata in exploreV2 (#1827)
Browse files Browse the repository at this point in the history
json_data really just returns the *metadata* for the slice, where
get_json returns both the metadata and the data
  • Loading branch information
mistercrunch authored Dec 14, 2016
1 parent fa9c066 commit 552d464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ def explore(self, datasource_type, datasource_id):
"datasource_name": viz_obj.datasource.name,
"datasource_type": datasource_type,
"user_id": user_id,
"viz": json.loads(viz_obj.get_json())
"viz": json.loads(viz_obj.json_data)
}
table_name = viz_obj.datasource.table_name \
if datasource_type == 'table' \
Expand Down

0 comments on commit 552d464

Please sign in to comment.