This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 492ad6c  use_slice_data in slice_json calls (#5643)
492ad6c is described below

commit 492ad6c49ac965c2956c46bae13aefbef6b870d8
Author: michellethomas <michelle.q.tho...@gmail.com>
AuthorDate: Thu Aug 16 09:35:34 2018 -0700

    use_slice_data in slice_json calls (#5643)
---
 superset/views/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/views/core.py b/superset/views/core.py
index 62c4877..c849ede 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1105,7 +1105,7 @@ class Superset(BaseSupersetView):
     @expose('/slice_json/<slice_id>')
     def slice_json(self, slice_id):
         try:
-            form_data, slc = self.get_form_data(slice_id)
+            form_data, slc = self.get_form_data(slice_id, use_slice_data=True)
             datasource_type = slc.datasource.type
             datasource_id = slc.datasource.id
 

Reply via email to