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 applied is overwritten by default bundle sort #157

Open
vengador opened this issue Oct 14, 2022 · 0 comments
Open

Sort applied is overwritten by default bundle sort #157

vengador opened this issue Oct 14, 2022 · 0 comments

Comments

@vengador
Copy link

Working on ERA project, I have defined 4 sort options for one specific content type:

'title__ASC' => $this->t('A-Z'),
'title__DESC' => $this->t('Z-A'),
'created__ASC' => $this->t('Date ASC'),
'created__DESC' => $this->t('Date DESC'),

In that content type we have added as default sort by title and direction ASC.

Initially, list page is sorted by title ASC as we expect but if we change in the sort selector to sort by title DESC, we can see that page is refreshed but nothing change in the results, order is not modified.

I have created a pull request to solve this issue here.

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