Dashboard feed respect setting.UI.FeedPagingNum again (#20094) (#20099)

Fixes #20080
tokarchuk/v1.17
Jimmy Praet 3 years ago committed by GitHub
parent dbafb4f4d4
commit 05464ac2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      routers/web/user/home.go
  2. 1
      routers/web/user/profile.go

@ -141,6 +141,7 @@ func Dashboard(ctx *context.Context) {
OnlyPerformedBy: false,
IncludeDeleted: false,
Date: ctx.FormString("date"),
ListOptions: db.ListOptions{PageSize: setting.UI.FeedPagingNum},
})
if err != nil {
ctx.ServerError("GetFeeds", err)

@ -188,6 +188,7 @@ func Profile(ctx *context.Context) {
OnlyPerformedBy: true,
IncludeDeleted: false,
Date: ctx.FormString("date"),
ListOptions: db.ListOptions{PageSize: setting.UI.FeedPagingNum},
})
if err != nil {
ctx.ServerError("GetFeeds", err)

Loading…
Cancel
Save