Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tobiberlin on
I wonder why this is still such an issue on Drupal 8: I added an exposed filter to a view listing all terms of a vocabulary in a select list. These terms are sorted alphabetically by the names of the default language so when I am on the page with another language enabled the term names are translated but they are sorted in the "wrong" order for the current language.
I know how to sort arrays alphabetically and so I could use hook_form_alter to do this sorting for each exposed filter in each form "manually" but maybe there is more general way to achieve this?
Comments
I'm facing the same issue.
I'm facing the same issue. Has there been any solution to this in the meantime?