1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00

Show feeds with errors first

This commit is contained in:
Frédéric Guillot 2017-12-26 20:42:43 -08:00
parent 5a721e694b
commit a475b875c5
6 changed files with 47 additions and 16 deletions

View file

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