Fix Ordering filter in pages list template
This commit is contained in:
parent
98393b046f
commit
5137955b54
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue