]> source.dussan.org Git - gitea.git/commit
Fix branch pagination error (#16805) (#16816)
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 25 Aug 2021 10:11:54 +0000 (18:11 +0800)
committerGitHub <noreply@github.com>
Wed, 25 Aug 2021 10:11:54 +0000 (11:11 +0100)
commitab7e36e3a5b88a364e57fe11aa7fc5de0648a4fe
tree8149e79f6a427e0091356053d50086b1d8b524f0
parent63178b565458277cfa18c77e3a99929e9d2cc5b5
Fix branch pagination error (#16805) (#16816)

Backport #16805

Fix #16801

Even if default branch is removed from the current page, but the total branches number should be still kept. So that the pagination calculation will be correct.
routers/web/repo/branch.go