diff --git a/pkg/notifications/database.go b/pkg/notifications/database.go index 94e679e07..655d3f565 100644 --- a/pkg/notifications/database.go +++ b/pkg/notifications/database.go @@ -53,6 +53,7 @@ func GetNotificationsForUser(s *xorm.Session, notifiableID int64, limit, start i err = s. Where("notifiable_id = ?", notifiableID). Limit(limit, start). + OrderBy("id DESC"). Find(¬ifications) if err != nil { return nil, 0, 0, err