Browse Source

fix bug #564 (#567)

tags/v1.2.0-rc1
Lunny Xiao GitHub 9 years ago
parent
commit
08efcd2f26
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/org.go

+ 1
- 1
models/org.go View File

@@ -559,7 +559,7 @@ func (org *User) GetUserRepositories(userID int64, page, pageSize int) ([]*Repos
}
repos := make([]*Repository, 0, pageSize)

if err := x.
if err := x.Select("`repository`.*").
Join("INNER", "team_repo", "`team_repo`.repo_id=`repository`.id").
Where(cond).
GroupBy("`repository`.id").


Loading…
Cancel
Save