0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 05:45:23 +02:00

fix bug where builder.In cond for groups and teams was not placed into the builder.Or cond

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-16 18:59:10 -04:00
parent 6bb7598555
commit 365769e2f7
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -35,8 +35,9 @@ func GetTeamRepositories(ctx context.Context, opts *SearchTeamRepoOptions) (Repo
builder.In("id", builder.Select("repo_id").
From("team_repo").
Where(builder.Eq{"team_id": opts.TeamID}),
)),
builder.In("id", ReposAccessibleByGroupTeamBuilder(opts.TeamID)),
),
builder.In("id", ReposAccessibleByGroupTeamBuilder(opts.TeamID)),
),
)
}
if opts.PageSize > 0 {