I tried to sort a facet by display value, but some of my value contain umlauts (Ä, Ö, etc). These values are displayed after other values and not on thier appropriate position.

Proposed resolution

Use the transliteration service before sorting.

Remaining tasks

User interface changes

API changes

Data model changes

Members fund testing for the Drupal project. Drupal Association Learn more


webflo created an issue. See original summary.

webflo’s picture

borisson_’s picture

Status: Active » Needs review

Let's see what the tests think about this.

Status: Needs review » Needs work

The last submitted patch, 2: 2704855-1.patch, failed testing.

The last submitted patch, 2: 2704855-1.patch, failed testing.

webflo’s picture

994 bytes
webflo’s picture

Status: Needs work » Needs review
5.08 KB

  • borisson_ committed 598bd14 on 8.x-1.x authored by webflo
    Issue #2704855 by webflo, borisson_: Remove diacritics when sorting by...
borisson_’s picture

Status: Needs review » Fixed
+++ b/src/Plugin/facets/processor/DisplayValueWidgetOrderProcessor.php
@@ -18,34 +21,59 @@ use Drupal\facets\Result\Result;
+   * @inheritDoc

We always use {@inheritdoc} but I'm not sure if there's any difference.

I changed that on commit. Thanks for the issue and the patch!

webflo’s picture


Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.