aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/feed/repo.go
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2023-02-24 22:15:10 +0100
committerGitHub <noreply@github.com>2023-02-24 16:15:10 -0500
commitf4920c9c7f5947d3b6476610f39bc3492ab4ef3b (patch)
tree36a4063c1ec25766808a73a2190a50cf13a7b18d /routers/web/feed/repo.go
parent740a5ecdd925aec8dcea3e73da07868f70cdacac (diff)
downloadgitea-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/repo.go')
-rw-r--r--routers/web/feed/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/feed/repo.go b/routers/web/feed/repo.go
index 1d24b58800..5fcad26779 100644
--- a/routers/web/feed/repo.go
+++ b/routers/web/feed/repo.go
@@ -15,7 +15,7 @@ import (
// ShowRepoFeed shows user activity on the repo as RSS / Atom feed
func ShowRepoFeed(ctx *context.Context, repo *repo_model.Repository, formatType string) {
- actions, err := activities_model.GetFeeds(ctx, activities_model.GetFeedsOptions{
+ actions, _, err := activities_model.GetFeeds(ctx, activities_model.GetFeedsOptions{
RequestedRepo: repo,
Actor: ctx.Doer,
IncludePrivate: true,