summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/web/user/home.go1
-rw-r--r--routers/web/user/profile.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/routers/web/user/home.go b/routers/web/user/home.go
index 7fe80a2a4b..698117e957 100644
--- a/routers/web/user/home.go
+++ b/routers/web/user/home.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)
diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go
index dd5804cd42..609f3242c6 100644
--- a/routers/web/user/profile.go
+++ b/routers/web/user/profile.go
@@ -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)