mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-17 11:25:47 +00:00
Backport #38935 by @bircni The dashboard activity feed was paginated with `[ui.user] REPO_PAGING_NUM` instead of `[ui] FEED_PAGING_NUM`. The wrong setting was picked up when the page size was hoisted into a local variable in https://github.com/go-gitea/gitea/pull/34994, most likely copied from the `dashboardRepoList` block a few lines above. `REPO_PAGING_NUM` should only control repository lists. Fixes https://github.com/go-gitea/gitea/issues/38925 Co-authored-by: bircni <bircni@icloud.com>
This commit is contained in:
@@ -111,7 +111,7 @@ func Dashboard(ctx *context.Context) {
|
|||||||
|
|
||||||
prepareHeatmapURL(ctx)
|
prepareHeatmapURL(ctx)
|
||||||
|
|
||||||
pageSize := setting.UI.User.RepoPagingNum
|
pageSize := setting.UI.FeedPagingNum
|
||||||
feeds, count, err := feed_service.GetFeedsForDashboard(ctx, activities_model.GetFeedsOptions{
|
feeds, count, err := feed_service.GetFeedsForDashboard(ctx, activities_model.GetFeedsOptions{
|
||||||
RequestedUser: ctxUser,
|
RequestedUser: ctxUser,
|
||||||
RequestedTeam: ctx.Org.Team,
|
RequestedTeam: ctx.Org.Team,
|
||||||
|
|||||||
Reference in New Issue
Block a user