diff options
Diffstat (limited to 'storage')
-rw-r--r-- | storage/feed.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/feed.go b/storage/feed.go index 7221094..84d3a62 100644 --- a/storage/feed.go +++ b/storage/feed.go @@ -60,7 +60,7 @@ func (s *Storage) Feeds(userID int64) (model.Feeds, error) { LEFT JOIN categories c ON c.id=f.category_id LEFT JOIN feed_icons fi ON fi.feed_id=f.id WHERE f.user_id=$1 - ORDER BY f.id ASC` + ORDER BY f.parsing_error_count DESC, f.title ASC` rows, err := s.db.Query(query, userID) if err != nil { |