Browse Source

Merge branch 'master' into docs-5.1

Marcus Efraimsson 7 years ago
parent
commit
f2c5417ee4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/services/sqlstore/annotation.go

+ 1 - 1
pkg/services/sqlstore/annotation.go

@@ -202,7 +202,7 @@ func (r *SqlAnnotationRepo) Find(query *annotations.ItemQuery) ([]*annotations.I
 	}
 
 	if query.Limit == 0 {
-		query.Limit = 10
+		query.Limit = 100
 	}
 
 	sql.WriteString(fmt.Sprintf(" ORDER BY epoch DESC LIMIT %v", query.Limit))