We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 008f5d8 commit 915cabdCopy full SHA for 915cabd
routers/web/user/home.go
@@ -157,7 +157,7 @@ func Milestones(ctx *context.Context) {
157
}
158
159
repoOpts := repo_model.SearchRepoOptions{
160
- Actor: ctxUser,
+ Actor: ctx.Doer,
161
OwnerID: ctxUser.ID,
162
Private: true,
163
AllPublic: false, // Include also all public repositories of users and public organisations
@@ -449,7 +449,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
449
// - Team has read permission to repository.
450
repoOpts := &repo_model.SearchRepoOptions{
451
Actor: ctx.Doer,
452
- OwnerID: ctx.Doer.ID,
+ OwnerID: ctxUser.ID,
453
454
AllPublic: false,
455
AllLimited: false,
0 commit comments