Skip to content

Commit 05464ac

Browse files
authored
Dashboard feed respect setting.UI.FeedPagingNum again (#20094) (#20099)
Fixes #20080
1 parent dbafb4f commit 05464ac

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

routers/web/user/home.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ func Dashboard(ctx *context.Context) {
141141
OnlyPerformedBy: false,
142142
IncludeDeleted: false,
143143
Date: ctx.FormString("date"),
144+
ListOptions: db.ListOptions{PageSize: setting.UI.FeedPagingNum},
144145
})
145146
if err != nil {
146147
ctx.ServerError("GetFeeds", err)

routers/web/user/profile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ func Profile(ctx *context.Context) {
188188
OnlyPerformedBy: true,
189189
IncludeDeleted: false,
190190
Date: ctx.FormString("date"),
191+
ListOptions: db.ListOptions{PageSize: setting.UI.FeedPagingNum},
191192
})
192193
if err != nil {
193194
ctx.ServerError("GetFeeds", err)

0 commit comments

Comments
 (0)