Make the feed list order case-insensitive

This commit is contained in:
Peter De Wachter 2019-01-04 21:42:15 +01:00 committed by fguillot
parent 0cdcec10ca
commit 27e79a4693

View file

@ -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 {