summary refs log tree commit diff
path: root/networks.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-11 19:05:48 -0400
committerJune McEnroe <june@causal.agency>2020-07-11 19:05:48 -0400
commitc68d3c98973c276c46227db0e3968b4e97d90831 (patch)
tree1b074cc8010631b991ae3922f4bf132d820b2713 /networks.c
parentDim search result context links (diff)
downloadscooper-c68d3c98973c276c46227db0e3968b4e97d90831.tar.gz
scooper-c68d3c98973c276c46227db0e3968b4e97d90831.zip
Sort networks and contexts case-insensitively
Diffstat (limited to 'networks.c')
-rw-r--r--networks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networks.c b/networks.c
index 4fcd476..c0f171a 100644
--- a/networks.c
+++ b/networks.c
@@ -36,7 +36,7 @@ const char *NetworksQuery = SQL(
 	), allNetworks AS (
 		SELECT DISTINCT network
 		FROM contexts
-		ORDER BY network
+		ORDER BY network COLLATE NOCASE
 	)
 	SELECT network, 1 FROM activeNetworks
 	UNION ALL