Skip to content

Commit

Permalink
Make the feed list order case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
pdewacht authored and fguillot committed Jan 8, 2019
1 parent 0cdcec1 commit 27e79a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 27e79a4

Please sign in to comment.