Skip to content

Commit

Permalink
fix: sort folders by name (#3284)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garzas authored Feb 7, 2025
1 parent 20791fd commit 8838325
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ CREATE TABLE LabeledConversation (
);

getFolders:
SELECT * FROM ConversationFolder;
SELECT * FROM ConversationFolder ORDER BY name COLLATE NOCASE ASC;

getAllFoldersWithConversations:
SELECT
Expand All @@ -30,7 +30,7 @@ FROM
LEFT JOIN
LabeledConversation labeledConversation ON conversationFolder.id = labeledConversation.folder_id
ORDER BY
conversationFolder.id;
conversationFolder.name COLLATE NOCASE ASC;

getConversationsFromFolder:
SELECT ConversationDetailsWithEvents.*
Expand Down

0 comments on commit 8838325

Please sign in to comment.