Skip to content

Commit

Permalink
Fix wiki revision pagination (go-gitea#31760)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and GiteaBot committed Aug 3, 2024
1 parent 9d362ca commit 4f68b75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routers/web/repo/wiki.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ func renderRevisionPage(ctx *context.Context) (*git.Repository, *git.TreeEntry)

pager := context.NewPagination(int(commitsCount), setting.Git.CommitsRangeSize, page, 5)
pager.SetDefaultParams(ctx)
pager.AddParamString("action", "_revision")
ctx.Data["Page"] = pager

return wikiRepo, entry
Expand Down

0 comments on commit 4f68b75

Please sign in to comment.