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

dpgaspar 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 61ebb9b  fix: chart datasource explore URL showing datasource name for 
druid (#9839)
61ebb9b is described below

commit 61ebb9bbc45cdb8c5104847b7390ee8053744830
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Thu May 21 10:45:47 2020 +0100

    fix: chart datasource explore URL showing datasource name for druid (#9839)
---
 superset/models/slice.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/models/slice.py b/superset/models/slice.py
index 2a13715..a570bcf 100644
--- a/superset/models/slice.py
+++ b/superset/models/slice.py
@@ -133,7 +133,7 @@ class Slice(
         if self.table:
             return self.table.explore_url
         datasource = self.datasource
-        return datasource.name if datasource else None
+        return datasource.explore_url if datasource else None
 
     def datasource_name_text(self) -> Optional[str]:
         # pylint: disable=no-member

Reply via email to