master
ByteList 2019-02-01 11:53:07 +01:00
parent 0c75c13193
commit 84024eb898
2 changed files with 2 additions and 4 deletions

View File

@ -650,8 +650,8 @@ func (org *User) accessibleReposEnv(e Engine, userID int64) (AccessibleReposEnvi
func (env *accessibleReposEnv) cond() builder.Cond {
var cond builder.Cond = builder.Eq{
"`repository`.owner_id": env.org.ID,
"`repository`.is_private": false,
"`repository`.owner_id": env.org.ID,
//"`repository`.is_private": false,
}
if len(env.teamIDs) > 0 {
cond = cond.Or(builder.In("team_repo.team_id", env.teamIDs))

View File

@ -87,8 +87,6 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
act.Repo.Owner = repoOwner
}
ctx.Data["Feeds"] = actions
fmt.Println("Feeds: ", ctx.Data["Feeds"])
}
// Dashboard render the dashborad page