Make the feed list order case-insensitive
This commit is contained in:
parent
0cdcec10ca
commit
27e79a4693
1 changed files with 1 additions and 1 deletions
|
@ -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 feed_icons fi ON fi.feed_id=f.id
|
||||||
LEFT JOIN users u ON u.id=f.user_id
|
LEFT JOIN users u ON u.id=f.user_id
|
||||||
WHERE f.user_id=$1
|
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)
|
rows, err := s.db.Query(query, userID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue