Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Databases on index page should display in order they were passed to "datasette serve"? #585

Closed
simonw opened this issue Oct 7, 2019 · 1 comment · Fixed by #591
Closed

Comments

@simonw
Copy link
Owner

simonw commented Oct 7, 2019

If you run this:

datasette serve -h 127.0.0.1 -p 8000 -m phone-locations.db healthkit.db locations.db genome.db

Then the index page for that Datasette instance should show the databases in the order they were specified on the command-line.

Mind you when we add pagination to that page in #468 we may want to do something different here.

@rixx
Copy link
Contributor

rixx commented Oct 11, 2019

I think this would be good, yeah – currently, databases are explicitly sorted by name in the IndexView, we could just remove that part (and use an OrderedDict for consistency, I suppose)?

rixx added a commit to rixx/datasette that referenced this issue Oct 11, 2019
simonw pushed a commit that referenced this issue Oct 14, 2019
simonw pushed a commit that referenced this issue Nov 11, 2019
simonw pushed a commit that referenced this issue Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants