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

Canned query page should show the name of the canned query #887

Closed
simonw opened this issue Jul 2, 2020 · 3 comments
Closed

Canned query page should show the name of the canned query #887

simonw opened this issue Jul 2, 2020 · 3 comments
Labels

Comments

@simonw
Copy link
Owner

simonw commented Jul 2, 2020

This page here - the URL is http://127.0.0.1:8001/data/all_tables but "all_tables" is not shown in the UI:

data__select_sqlite_master_name_as_table_name__table_info___from_sqlite_master_join_pragma_table_info_sqlite_master_name__as_table_info_order_by_sqlite_master_name__table_info_cid_and_data__insert_into_saved_queries__name__sql__author_id__v

@simonw simonw added the design label Jul 2, 2020
@simonw simonw added this to the Datasette 0.46 milestone Jul 2, 2020
@simonw
Copy link
Owner Author

simonw commented Jul 2, 2020

Example in the live demo: https://latest.datasette.io/fixtures/magic_parameters

fixtures__select___header_user_agent_as_user_agent____now_datetime_utc_as_datetime

@simonw simonw closed this as completed in 57879dc Jul 2, 2020
@simonw
Copy link
Owner Author

simonw commented Jul 2, 2020

@simonw
Copy link
Owner Author

simonw commented Jul 2, 2020

If a canned query has a title defined that will be used instead: https://latest.datasette.io/fixtures/neighborhood_search

fixtures__select_neighborhood__facet_cities_name__state_from_facetable_join_facet_cities_on_facetable_city_id___facet_cities_id_where_neighborhood_like_________text________order_by_neighborhood_

simonw added a commit that referenced this issue Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant