mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Initial implementation of suggested facets
Causes tests to break at the moment
This commit is contained in:
parent
2a365b6156
commit
ce84d76fff
2 changed files with 36 additions and 0 deletions
|
|
@ -91,6 +91,10 @@
|
|||
|
||||
<p>This data as <a href="{{ url_json }}">.json</a></p>
|
||||
|
||||
{% if suggested_facets %}
|
||||
<p>Suggested facets: {% for facet in suggested_facets %}<a href="{{ facet.toggle_url }}">{{ facet.name }}</a> {% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% for facet_name, facet_values in facet_results.items() %}
|
||||
<p><strong>{{ facet_name }}</strong></p>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue