Merge pull request #1114 from bookwyrm-social/filter-fix

Fixes editions page
This commit is contained in:
Mouse Reeve 2021-05-20 18:48:30 -07:00 committed by GitHub
commit 8b6934d1d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{% extends 'snippets/filters_panel/filter_field.html' %}
{% load i18n %}{% load utilities %}
{% load i18n %}
{% block filter %}
<label class="label is-block" for="id_format">{% trans "Format:" %}</label>
@ -8,7 +8,7 @@
<option value="">{% trans "Any" %}</option>
{% for format in formats %}{% if format %}
<option value="{{ format }}" {% if request.GET.format == format %}selected{% endif %}>
{{ format|book_title }}
{{ format|title }}
</option>
{% endif %}{% endfor %}
</select>