Skip to content

Commit 82003a3

Browse files
GiteaBotlunny
andauthored
Fix wiki revision pagination (#31760) (#31772)
Backport #31760 by @lunny Fix #31755 Co-authored-by: Lunny Xiao <[email protected]>
1 parent 9d362ca commit 82003a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/repo/wiki.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ func renderRevisionPage(ctx *context.Context) (*git.Repository, *git.TreeEntry)
410410

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

415416
return wikiRepo, entry

0 commit comments

Comments
 (0)