[sql lab] make database ordering alphabetical in left panel (#2769)

This commit is contained in:
Maxime Beauchemin 2017-05-17 21:31:16 -07:00 committed by GitHub
parent dbc7fef7f5
commit 841e18a08c
1 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ class SqlEditorLeftBar extends React.PureComponent {
dataEndpoint={ dataEndpoint={
'/databaseasync/api/' + '/databaseasync/api/' +
'read?_flt_0_expose_in_sqllab=1&' + 'read?_flt_0_expose_in_sqllab=1&' +
'_oc_DatabaseView=database_name&' + '_oc_DatabaseAsync=database_name&' +
'_od_DatabaseView=asc' '_od_DatabaseAsync=asc'
} }
onChange={this.onDatabaseChange.bind(this)} onChange={this.onDatabaseChange.bind(this)}
onAsyncError={() => notify.error('Error while fetching database list')} onAsyncError={() => notify.error('Error while fetching database list')}