Skip to content

Commit 4f68b75

Browse files
lunnyGiteaBot
authored andcommitted
Fix wiki revision pagination (go-gitea#31760)
Fix go-gitea#31755
1 parent 9d362ca commit 4f68b75

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)