mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Show databases in alphabetical order on index page
This commit is contained in:
parent
40d3b3eae6
commit
03c58fb350
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ class IndexView(HTTPMethodView):
|
||||||
|
|
||||||
async def get(self, request):
|
async def get(self, request):
|
||||||
databases = []
|
databases = []
|
||||||
for key, info in ensure_build_metadata(self.files).items():
|
for key, info in sorted(ensure_build_metadata(self.files).items()):
|
||||||
database = {
|
database = {
|
||||||
'name': key,
|
'name': key,
|
||||||
'hash': info['hash'],
|
'hash': info['hash'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue