mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Reliable sort order for facets in Python 3.5, fixing test - refs #255
This commit is contained in:
parent
062303419c
commit
b263da78e3
3 changed files with 4 additions and 4 deletions
|
|
@ -81,8 +81,8 @@
|
|||
</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 }}">
|
||||
{% for facet in sorted_facet_results %}
|
||||
<input type="hidden" name="_facet" value="{{ facet.name }}">
|
||||
{% endfor %}
|
||||
<input type="submit" value="Apply">
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue