Browse Source

HUE-4867 [metadata] Clicking on browse table show the generic SQL icon

Romain Rigaux 9 years ago
parent
commit
700381109c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      desktop/libs/notebook/src/notebook/views.py

+ 1 - 0
desktop/libs/notebook/src/notebook/views.py

@@ -126,6 +126,7 @@ def browse(request, database, table):
       'options_json': json.dumps({
           'languages': [{"name": "%s SQL" % editor_type.title(), "type": editor_type}],
           'mode': 'editor',
+          'editor_type': editor_type
       }),
       'editor_type': editor_type,
   })