From 27e79a4693f2921588b2df110449f4a302856317 Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Fri, 4 Jan 2019 21:42:15 +0100 Subject: [PATCH] Make the feed list order case-insensitive --- storage/feed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/feed.go b/storage/feed.go index 844f58e0..6d0684e2 100644 --- a/storage/feed.go +++ b/storage/feed.go @@ -76,7 +76,7 @@ func (s *Storage) Feeds(userID int64) (model.Feeds, error) { LEFT JOIN feed_icons fi ON fi.feed_id=f.id LEFT JOIN users u ON u.id=f.user_id WHERE f.user_id=$1 - ORDER BY f.parsing_error_count DESC, f.title ASC` + ORDER BY f.parsing_error_count DESC, lower(f.title) ASC` rows, err := s.db.Query(query, userID) if err != nil {