Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The number of Repository for Organization is incorrectly displayed on dashboard page #16648

Closed
2 of 6 tasks
zzudongxiang opened this issue Aug 7, 2021 · 5 comments · Fixed by #16807
Closed
2 of 6 tasks
Labels
Milestone

Comments

@zzudongxiang
Copy link

  • Gitea version (or commit ref):1.15.0+rc2
  • Git version:2.30.2
  • Operating system:Synology + Docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No

Description

The number of Repository for Organization is incorrectly displayed on dashboard page

Screenshots

image

@fnetX
Copy link
Contributor

fnetX commented Aug 9, 2021

The English title is "My organizations" and it correctly displays the number of organizations next to it. You have six organizations in your screenshot, so the number next to it matches. Or do I miss something?

It's not supposed to show you the number of repositories in your organizations. If the description is misleading, this might be a translation problem ...

@zzudongxiang
Copy link
Author

I mean, the number of repositories for my organizations should not be 0

Snipaste_2021-08-09_20-57-17

@fnetX
Copy link
Contributor

fnetX commented Aug 9, 2021

Uh, sorry. Confirmed on try.gitea.io, too (1.16.0+dev-88-geaa791bed)

@zeripath
Copy link
Contributor

This is what I was worried about when the old org user was removed.

@zeripath
Copy link
Contributor

zeripath commented Aug 24, 2021

I think this is a regression due/related to #14032 and #13994

@zeripath zeripath added this to the 1.15.1 milestone Aug 24, 2021
zeripath added a commit to zeripath/gitea that referenced this issue Aug 24, 2021
Calculate and return the number of Repositories on the dashboard
Organization list.

This PR restores some of the logic that was removed in go-gitea#14032 to
calculate the number of repos on the dashboard orgs list.

Fix go-gitea#16648
Replaces go-gitea#16799

Signed-off-by: Andrew Thornton <[email protected]>
techknowlogick added a commit that referenced this issue Sep 1, 2021
Calculate and return the number of Repositories on the dashboard
Organization list.

This PR restores some of the logic that was removed in #14032 to
calculate the number of repos on the dashboard orgs list.

Fix #16648
Replaces #16799

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: 6543 <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
zeripath added a commit to zeripath/gitea that referenced this issue Sep 1, 2021
…ea#16807)

Backport go-gitea#16807

Calculate and return the number of Repositories on the dashboard
Organization list.

This PR restores some of the logic that was removed in go-gitea#14032 to
calculate the number of repos on the dashboard orgs list.

Fix go-gitea#16648
Replaces go-gitea#16799

Signed-off-by: Andrew Thornton <[email protected]>
6543 pushed a commit that referenced this issue Sep 1, 2021
#16911)

Backport #16807

Calculate and return the number of Repositories on the dashboard
Organization list.

This PR restores some of the logic that was removed in #14032 to
calculate the number of repos on the dashboard orgs list.

Fix #16648
Replaces #16799

Signed-off-by: Andrew Thornton <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
4 participants