Skip to content

Commit 94ec7b2

Browse files
ensure that only root-level repos are displayed on org homepage
1 parent c64465b commit 94ec7b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/org/home.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ func home(ctx *context.Context, viewRepositories bool) {
132132
Mirror: mirror,
133133
Template: template,
134134
IsPrivate: private,
135+
GroupID: -1,
135136
})
136137
if err != nil {
137138
ctx.ServerError("SearchRepository", err)

0 commit comments

Comments
 (0)