We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just noticed this that the column is not ordered based on this setting in 'advanced' tab of the parent. It should be.
The text was updated successfully, but these errors were encountered:
Notes:
Setting is done per page (needs to be in a page with collection defined, e.g. blog.md)
admin: children_display_order: collection
Logic is done in admin/themes/grav/templtaes/pages.html.twig:
admin/themes/grav/templtaes/pages.html.twig
{% if page.header.admin.children_display_order == 'collection' and page.header.content.order.by %} {% if page.header.content.order.custom %} {% set pcol = page.children().order(page.header.content.order.by, page.header.content.order.dir|default('asc'), page.header.content.order.custom) %} {% else %} {% set pcol = page.children().order(page.header.content.order.by, page.header.content.order.dir|default('asc')) %} {% endif %} {% else %} {% set pcol = page.children() %} {% endif %}
Sorry, something went wrong.
Fixed Flex Page parent header.admin.children_display_order setting …
header.admin.children_display_order
dfa8ce1
…being ignored in Admin [#2881]
mahagr
rhukster
No branches or pull requests
Just noticed this that the column is not ordered based on this setting in 'advanced' tab of the parent. It should be.
The text was updated successfully, but these errors were encountered: