mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
parent
980dd0bf51
commit
09dabe2ff2
@ -559,7 +559,7 @@ func (org *User) GetUserRepositories(userID int64, page, pageSize int) ([]*Repos
|
|||||||
}
|
}
|
||||||
repos := make([]*Repository, 0, pageSize)
|
repos := make([]*Repository, 0, pageSize)
|
||||||
|
|
||||||
if err := x.
|
if err := x.Select("`repository`.*").
|
||||||
Join("INNER", "team_repo", "`team_repo`.repo_id=`repository`.id").
|
Join("INNER", "team_repo", "`team_repo`.repo_id=`repository`.id").
|
||||||
Where(cond).
|
Where(cond).
|
||||||
GroupBy("`repository`.id").
|
GroupBy("`repository`.id").
|
||||||
|
Loading…
Reference in New Issue
Block a user