Respect setting.UI.FeedPagingNum (#20094)

Fixes #20080
This commit is contained in:
Jimmy Praet authored and GitHub committed 2022-06-23 11:50:37 +02:00
1 parent 3ba09103a4
commit b8cfd4605f
2 files changed
+2

No files matched your search

+1
View File
@@ -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)
+1
View File
@@ -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)