Closed
Description
Gitea Version
1.15.3
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
The repository count on the organization tab of the dashboard can display an incorrect value.
In my case it shows 1952 repo's, where in fact there are only 488 repo's in that organization.
I happen to be in 4 teams within that organization, so likely it is caused by a missing distinct clause in a query that joins with the teams.