You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tag list: sort planning tags alphabetically with da-DK collation #2126
The tag list served by GET …/items-planning-pn/tags (ItemsPlanningTagsService.GetItemsPlanningTags) is not in Danish alphabetical order. Every tag picker built on it inherits that order, including backend-configuration's "Redigér etiketter" dialog, the tag filters and the task wizard.
Reproduce (fictional data)
Create tags Øko, Beta, Åben, Alfa, Æble and open any tag picker.
Actual: Åben, Alfa, Beta, Æble, Øko. Expected (da-DK): Alfa, Beta, Æble, Øko, Åben (Æ, Ø, Å after Z, in that order).
Root cause
GetItemsPlanningTags sorts in SQL: .Select(...).OrderBy(x => x.Name).ToListAsync(). The order therefore comes from the MariaDB column collation (utf8mb4_general_ci), which folds Å to A and does not apply Danish rules.
Fixed by #2127 (merged to stable). GetItemsPlanningTags sorts tag names in memory with da-DK collation (Æ, Ø, Å after Z; "aa" = "å"), so every tag picker lists them in Danish alphabetical order.
Activity
Merge pull request #2127 from microting/fix/2126-tags-danish-order
renemadsen commentedon Sep 27, 2026
Fixed by #2127 (merged to stable).
GetItemsPlanningTagssorts tag names in memory with da-DK collation (Æ, Ø, Å after Z; "aa" = "å"), so every tag picker lists them in Danish alphabetical order.