mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-16 14:36:22 +00:00
Fixes #20080
This commit is contained in:
parent
dbafb4f4d4
commit
05464ac2a5
|
@ -141,6 +141,7 @@ func Dashboard(ctx *context.Context) {
|
||||||
OnlyPerformedBy: false,
|
OnlyPerformedBy: false,
|
||||||
IncludeDeleted: false,
|
IncludeDeleted: false,
|
||||||
Date: ctx.FormString("date"),
|
Date: ctx.FormString("date"),
|
||||||
|
ListOptions: db.ListOptions{PageSize: setting.UI.FeedPagingNum},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.ServerError("GetFeeds", err)
|
ctx.ServerError("GetFeeds", err)
|
||||||
|
|
|
@ -188,6 +188,7 @@ func Profile(ctx *context.Context) {
|
||||||
OnlyPerformedBy: true,
|
OnlyPerformedBy: true,
|
||||||
IncludeDeleted: false,
|
IncludeDeleted: false,
|
||||||
Date: ctx.FormString("date"),
|
Date: ctx.FormString("date"),
|
||||||
|
ListOptions: db.ListOptions{PageSize: setting.UI.FeedPagingNum},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.ServerError("GetFeeds", err)
|
ctx.ServerError("GetFeeds", err)
|
||||||
|
|
Loading…
Reference in a new issue