NewsFeed von 20 auf 42 heraufgesetzt, Issue #1

This commit is contained in:
2020-06-30 18:32:31 +02:00
parent 30e1901439
commit ddc932dae3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
}