We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54cc459 commit c72f606Copy full SHA for c72f606
routers/web/user/home.go
@@ -156,7 +156,7 @@ func Milestones(ctx *context.Context) {
156
}
157
158
repoOpts := repo_model.SearchRepoOptions{
159
- Actor: ctxUser,
+ Actor: ctx.Doer,
160
OwnerID: ctxUser.ID,
161
Private: true,
162
AllPublic: false, // Include also all public repositories of users and public organisations
@@ -437,7 +437,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
437
// - Team has read permission to repository.
438
repoOpts := &repo_model.SearchRepoOptions{
439
Actor: ctx.Doer,
440
- OwnerID: ctx.Doer.ID,
+ OwnerID: ctxUser.ID,
441
442
AllPublic: false,
443
AllLimited: false,
0 commit comments