Issue Bug Closed

#95575Built-in sortItems by "label" does not respect UTF-8

S P 10/12/21, 06:22 updated 10/16/24, 08:19

Description

v10 introduced sortItems for TCA select fields. The implementaion, however, does only a byte-by-byte sorting, which has the impact that letters from non-english languages (like accented letters in French or Umlauts in German) are sorted always to the end of the list.

There should be a UTF-8 sorting by default.

Reviews 1

History 514

  1. Gerrit Code Review pushed patch set 1 for master to change 71875 status New Under Review <span data-processor="relativetime" data-value="2021-10-18T12:00:54+00:00" > 10/18/21, 12:00 </span>

  2. Christian Kuhn commented and changed status Under Review New <span data-processor="relativetime" data-value="2021-11-04T16:35:24+00:00" > 11/04/21, 16:35 </span>

    This gives headaches in v11 … we’ll try to get this done in v12 when we’ll have a bigger look at timezones and locale aware sorting.

  3. Oliver Bartsch commented and changed status New Closed <span data-processor="relativetime" data-value="2024-10-16T08:19:59+00:00" > 10/16/24, 08:19 </span>

    Closed since fixed with #105015.