Potentially fix sort order with emojis
This commit is contained in:
parent
e347928c02
commit
1db46accce
@ -87,8 +87,9 @@ namespace PluralKit.Bot
|
||||
// Order clause
|
||||
query.Append(SortProperty switch
|
||||
{
|
||||
SortProperty.Name => " order by members.name",
|
||||
SortProperty.DisplayName => " order by members.display_name, members.name",
|
||||
// Name/DN order needs `collate "C"` to match legacy .NET behavior (affects sorting of emojis, etc)
|
||||
SortProperty.Name => " order by members.name collate 'C'",
|
||||
SortProperty.DisplayName => " order by members.display_name, members.name collate 'C'",
|
||||
SortProperty.Hid => " order by members.hid",
|
||||
SortProperty.CreationDate => " order by members.created",
|
||||
SortProperty.Birthdate =>
|
||||
|
Loading…
Reference in New Issue
Block a user