diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml index 450c2f26af..82b3ed16dc 100644 --- a/models/fixtures/repository.yml +++ b/models/fixtures/repository.yml @@ -618,7 +618,8 @@ num_forks: 0 num_issues: 1 num_milestones: 1 - is_mirror: false + is_mirror: + is_archived: false - id: 43 diff --git a/routers/web/user/home.go b/routers/web/user/home.go index 455761d039..297d76d4aa 100644 --- a/routers/web/user/home.go +++ b/routers/web/user/home.go @@ -170,8 +170,9 @@ func Milestones(ctx *context.Context) { Actor: ctxUser, OwnerID: ctxUser.ID, Private: true, - AllPublic: false, // Include also all public repositories of users and public organisations - AllLimited: false, // Include also all public repositories of limited organisations + AllPublic: false, // Include also all public repositories of users and public organisations + AllLimited: false, // Include also all public repositories of limited organisations + Archived: util.OptionalBoolFalse, HasMilestones: util.OptionalBoolTrue, // Just needs display repos has milestones }