mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
Merge pull request #2568 from StantonVentures/2567_order_datasources_alpha
sort datasources alphabetically
This commit is contained in:
commit
8bffc6f45d
@ -83,7 +83,7 @@ class DataSourceListResource(BaseResource):
|
||||
except AttributeError:
|
||||
logging.exception("Error with DataSource#to_dict (data source id: %d)", ds.id)
|
||||
|
||||
return sorted(response.values(), key=lambda d: d['id'])
|
||||
return sorted(response.values(), key=lambda d: d['name'])
|
||||
|
||||
@require_admin
|
||||
def post(self):
|
||||
|
Loading…
Reference in New Issue
Block a user