diff options
author | Brecht Van Lommel <brecht@blender.org> | 2023-02-24 22:15:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 16:15:10 -0500 |
commit | f4920c9c7f5947d3b6476610f39bc3492ab4ef3b (patch) | |
tree | 36a4063c1ec25766808a73a2190a50cf13a7b18d /routers/web/feed/profile.go | |
parent | 740a5ecdd925aec8dcea3e73da07868f70cdacac (diff) | |
download | gitea-f4920c9c7f5947d3b6476610f39bc3492ab4ef3b.tar.gz gitea-f4920c9c7f5947d3b6476610f39bc3492ab4ef3b.zip |
Add pagination for dashboard and user activity feeds (#22937)
Previously only the last few activities where available. This works for
all activity and for activity on a date chosen on the heatmap.
Diffstat (limited to 'routers/web/feed/profile.go')
-rw-r--r-- | routers/web/feed/profile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/feed/profile.go b/routers/web/feed/profile.go index 7641769192..b9dda2fc10 100644 --- a/routers/web/feed/profile.go +++ b/routers/web/feed/profile.go @@ -26,7 +26,7 @@ func ShowUserFeedAtom(ctx *context.Context) { func showUserFeed(ctx *context.Context, formatType string) { includePrivate := ctx.IsSigned && (ctx.Doer.IsAdmin || ctx.Doer.ID == ctx.ContextUser.ID) - actions, err := activities_model.GetFeeds(ctx, activities_model.GetFeedsOptions{ + actions, _, err := activities_model.GetFeeds(ctx, activities_model.GetFeedsOptions{ RequestedUser: ctx.ContextUser, Actor: ctx.Doer, IncludePrivate: includePrivate, |