Skip to content

Commit 1ed9934

Browse files
committed
Add comment about the repository counting
1 parent 0cf938c commit 1ed9934

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/organization/org_list.go

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ func GetUserOrgsList(ctx context.Context, user *user_model.User) ([]*MinimalOrg,
107107
OrgID int64
108108
RepoCount int
109109
}
110+
// FIXME: This doesn't counting those public repos in the organization that the user has access to
110111
var orgCounts []orgCount
111112
if err := db.GetEngine(ctx).
112113
Select("team.org_id, COUNT(DISTINCT(team_repo.repo_id)) as repo_count").

0 commit comments

Comments
 (0)