diff --git a/superset/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx b/superset/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx index e70ed98dcb..2464656155 100644 --- a/superset/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx +++ b/superset/assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx @@ -145,8 +145,8 @@ class SqlEditorLeftBar extends React.PureComponent { dataEndpoint={ '/databaseasync/api/' + 'read?_flt_0_expose_in_sqllab=1&' + - '_oc_DatabaseView=database_name&' + - '_od_DatabaseView=asc' + '_oc_DatabaseAsync=database_name&' + + '_od_DatabaseAsync=asc' } onChange={this.onDatabaseChange.bind(this)} onAsyncError={() => notify.error('Error while fetching database list')}