Browse Source

HUE-6303 [editor] Fix metastore link in editor sql context popover

Johan Ahlen 8 years ago
parent
commit
1ce0828
1 changed files with 2 additions and 1 deletions
  1. 2 1
      desktop/core/src/desktop/templates/sql_context_popover.mako

+ 2 - 1
desktop/core/src/desktop/templates/sql_context_popover.mako

@@ -1176,7 +1176,8 @@ from metadata.conf import has_navigator
         if ((self.isDatabase || self.isTable || self.isView) && self.data.identifierChain) {
           apiHelper.identifierChainToPath({
             sourceType: self.sourceType,
-            identifierChain: self.data.identifierChain
+            identifierChain: self.data.identifierChain,
+            defaultDatabase: self.defaultDatabase
           }, function (path) {
             pubSubs.push(huePubSub.subscribe('sql.context.popover.open.in.metastore', function (type) {
               if (IS_HUE_4) {