mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
_facet selections persist through table form, refs #255
This commit is contained in:
parent
514873c629
commit
f4943ca89b
2 changed files with 19 additions and 0 deletions
|
|
@ -81,6 +81,9 @@
|
|||
</div>
|
||||
<label class="sort_by_desc"><input type="checkbox" name="_sort_by_desc"{% if sort_desc %} checked{% endif %}> descending</label>
|
||||
{% endif %}
|
||||
{% for facet in facet_results %}
|
||||
<input type="hidden" name="_facet" value="{{ facet }}">
|
||||
{% endfor %}
|
||||
<input type="submit" value="Apply">
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue