You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Giteabot 026e745b9e
Fix incorrect release count (#25879) (#25887)
Backport #25879 by @yp05327

Release count is not correct:
https://try.gitea.io/yp05327/testrepo/tags

![image](https://github.com/go-gitea/gitea/assets/18380374/07f97c62-d450-4ccb-b3f2-3e0af9d9fc52)

https://try.gitea.io/yp05327/testrepo/releases

![image](https://github.com/go-gitea/gitea/assets/18380374/6f1d55a4-bb68-445d-84b9-90552a40f403)

https://try.gitea.io/yp05327/testrepo/releases/tag/testtag

![image](https://github.com/go-gitea/gitea/assets/18380374/09ab5d51-52b6-4621-a571-3100198eb260)

We already have correct release count, no need to calculate it again.

c5e187c389/modules/context/repo.go (L547)

Co-authored-by: yp05327 <576951401@qq.com>
2 years ago
..
api For API attachments, use API URL (#25639) (#25814) 2 years ago
common Fix admin config page error, use tests to cover the admin config and 500 error page (#24965) 2 years ago
install Show correct SSL Mode on "install page" (#25818) (#25838) 2 years ago
private Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Fix incorrect release count (#25879) (#25887) 2 years ago
init.go Refactor path & config system (#25330) (#25416) 2 years ago