Fix quotes in collate clause
This commit is contained in:
parent
1db46accce
commit
c537dc7de3
@ -88,8 +88,8 @@ namespace PluralKit.Bot
|
|||||||
query.Append(SortProperty switch
|
query.Append(SortProperty switch
|
||||||
{
|
{
|
||||||
// Name/DN order needs `collate "C"` to match legacy .NET behavior (affects sorting of emojis, etc)
|
// 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.Name => " order by members.name collate \"C\"",
|
||||||
SortProperty.DisplayName => " order by members.display_name, members.name collate 'C'",
|
SortProperty.DisplayName => " order by members.display_name, members.name collate \"C\"",
|
||||||
SortProperty.Hid => " order by members.hid",
|
SortProperty.Hid => " order by members.hid",
|
||||||
SortProperty.CreationDate => " order by members.created",
|
SortProperty.CreationDate => " order by members.created",
|
||||||
SortProperty.Birthdate =>
|
SortProperty.Birthdate =>
|
||||||
|
Loading…
Reference in New Issue
Block a user