From c537dc7de34ae55d8a923d0d5f93cf895228875a Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 7 Jun 2020 19:49:43 +0200 Subject: [PATCH] Fix quotes in collate clause --- PluralKit.Bot/Lists/SortFilterOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Lists/SortFilterOptions.cs b/PluralKit.Bot/Lists/SortFilterOptions.cs index 4628e658..b212ad65 100644 --- a/PluralKit.Bot/Lists/SortFilterOptions.cs +++ b/PluralKit.Bot/Lists/SortFilterOptions.cs @@ -88,8 +88,8 @@ namespace PluralKit.Bot query.Append(SortProperty switch { // 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.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 =>