Skip to content
New issue

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

How can I set sorting criteria for list pages? #125

Closed
sotiropo opened this issue Jan 19, 2022 · 1 comment
Closed

How can I set sorting criteria for list pages? #125

sotiropo opened this issue Jan 19, 2022 · 1 comment

Comments

@sotiropo
Copy link

How can we set sorting criteria for list pages? For example, if I want to order listed items by descending "Authored on" date.

@imanoleguskiza
Copy link
Member

Hi @sotiropo, the complete functionality will be provided by #137. However you can already set a default sort in the content type definition: https://github.com/openeuropa/oe_list_pages/blob/master/tests/modules/oe_list_pages_filters_test/config/install/node.type.content_type_one.yml#L13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants