forked from gitea/gitea
1
0
Fork 0
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>
2023-07-14 09:32:43 +00:00
..
api For API attachments, use API URL (#25639) (#25814) 2023-07-10 12:56:16 +00:00
common Fix admin config page error, use tests to cover the admin config and 500 error page (#24965) 2023-05-29 15:00:21 +00:00
install Show correct SSL Mode on "install page" (#25818) (#25838) 2023-07-12 02:01:38 -04:00
private Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix incorrect release count (#25879) (#25887) 2023-07-14 09:32:43 +00:00
init.go Refactor path & config system (#25330) (#25416) 2023-06-22 16:27:18 +00:00