mirror of https://github.com/apache/superset.git
[sql lab] make database ordering alphabetical in left panel (#2769)
This commit is contained in:
parent
dbc7fef7f5
commit
841e18a08c
|
@ -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')}
|
||||||
|
|
Loading…
Reference in New Issue