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

[5.x] Make sort modifier work with query builders #10924

Open
wants to merge 4 commits into
base: 5.x
Choose a base branch
from

Conversation

aerni
Copy link
Contributor

@aerni aerni commented Oct 9, 2024

This PR adds support for query builders to the sort modifier. I ran into this on a collection term details page where I wanted to sort the entries by title.

Now you can do this:

<a-components.galleries-grid :entries="entries | sort('title')" />

Also needed this for the photography starter kit.

@aerni aerni changed the title Make sort modifier work with query builders [5.x] Make sort modifier work with query builders Oct 9, 2024
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

Successfully merging this pull request may close these issues.

2 participants