diff --git a/models/action.go b/models/action.go index 59ccdb2d4..46d06c8fb 100644 --- a/models/action.go +++ b/models/action.go @@ -338,9 +338,9 @@ func GetFeeds(opts GetFeedsOptions) ([]*Action, error) { cond = cond.And(builder.Eq{"is_deleted": false}) } - actions := make([]*Action, 0, 20) + actions := make([]*Action, 0, 42) - if err := x.Limit(20).Desc("id").Where(cond).Find(&actions); err != nil { + if err := x.Limit(42).Desc("id").Where(cond).Find(&actions); err != nil { return nil, fmt.Errorf("Find: %v", err) } diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index b99a00089..a121a2836 100644 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -1,7 +1,7 @@