From 841e18a08c4b375fdff5b846f5d9f108903a3eb6 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 17 May 2017 21:31:16 -0700 Subject: [PATCH] [sql lab] make database ordering alphabetical in left panel (#2769) --- .../assets/javascripts/SqlLab/components/SqlEditorLeftBar.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')}