Skip to content

Incorrect repository count on organization tab of dashboard #17249

Closed
@jpraet

Description

@jpraet

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.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions