Debug
parent
0c75c13193
commit
84024eb898
|
|
@ -650,8 +650,8 @@ func (org *User) accessibleReposEnv(e Engine, userID int64) (AccessibleReposEnvi
|
||||||
|
|
||||||
func (env *accessibleReposEnv) cond() builder.Cond {
|
func (env *accessibleReposEnv) cond() builder.Cond {
|
||||||
var cond builder.Cond = builder.Eq{
|
var cond builder.Cond = builder.Eq{
|
||||||
"`repository`.owner_id": env.org.ID,
|
"`repository`.owner_id": env.org.ID,
|
||||||
"`repository`.is_private": false,
|
//"`repository`.is_private": false,
|
||||||
}
|
}
|
||||||
if len(env.teamIDs) > 0 {
|
if len(env.teamIDs) > 0 {
|
||||||
cond = cond.Or(builder.In("team_repo.team_id", env.teamIDs))
|
cond = cond.Or(builder.In("team_repo.team_id", env.teamIDs))
|
||||||
|
|
|
||||||
|
|
@ -87,8 +87,6 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
|
||||||
act.Repo.Owner = repoOwner
|
act.Repo.Owner = repoOwner
|
||||||
}
|
}
|
||||||
ctx.Data["Feeds"] = actions
|
ctx.Data["Feeds"] = actions
|
||||||
|
|
||||||
fmt.Println("Feeds: ", ctx.Data["Feeds"])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dashboard render the dashborad page
|
// Dashboard render the dashborad page
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue