Fix Ordering filter in pages list template

This commit is contained in:
Lorenz Padberg 2022-07-27 15:16:52 +02:00
parent 98393b046f
commit 5137955b54
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
<tbody> <tbody>
{% if pages %} {% if pages %}
{% trans "Select page" as checkbox_aria_label %} {% trans "Select page" as checkbox_aria_label %}
{% for page in pages|dictsort:"title"%} {% for page in pages %}
{% page_permissions page as page_perms %} {% page_permissions page as page_perms %}
<tr {% if ordering == "ord" %}id="page_{{ page.id|unlocalize }}" <tr {% if ordering == "ord" %}id="page_{{ page.id|unlocalize }}"
data-page-title="{{ page.get_admin_display_title }}"{% endif %} data-page-title="{{ page.get_admin_display_title }}"{% endif %}