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

Sort orders by 'created_at' in paginate? #1798

Open
luantran1311 opened this issue Apr 24, 2024 · 0 comments
Open

Sort orders by 'created_at' in paginate? #1798

luantran1311 opened this issue Apr 24, 2024 · 0 comments

Comments

@luantran1311
Copy link

Hi guys

I have this liquid object that show customer orders, however they are not sorted by 'created_at' attribute.
{%- paginate customer.orders by 16 -%}

How can I sort them?

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

1 participant