From c4402f0e0f3f178b8a74d86b7e4e46064855bd6e Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 13 Dec 2016 11:25:22 -0800 Subject: [PATCH] [explorev2] no bootstrap data, just metadata in exploreV2 json_data really just returns the *metadata* for the slice, where get_json returns both the metadata and the data --- superset/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/views.py b/superset/views.py index 13e3246b5f2a9..0609310f991a7 100755 --- a/superset/views.py +++ b/superset/views.py @@ -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' \