|
|
@ -178,7 +178,7 @@ func Issues(ctx *context.Context) { |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
if ctxUser.IsOrganization() { |
|
|
|
if ctxUser.IsOrganization() { |
|
|
|
viewType = "all" |
|
|
|
viewType = "your_repositories" |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
viewType = ctx.Query("type") |
|
|
|
viewType = ctx.Query("type") |
|
|
|
switch viewType { |
|
|
|
switch viewType { |
|
|
@ -188,9 +188,9 @@ func Issues(ctx *context.Context) { |
|
|
|
filterMode = models.FilterModeCreate |
|
|
|
filterMode = models.FilterModeCreate |
|
|
|
case "mentioned": |
|
|
|
case "mentioned": |
|
|
|
filterMode = models.FilterModeMention |
|
|
|
filterMode = models.FilterModeMention |
|
|
|
case "all": // filterMode already set to All
|
|
|
|
case "your_repositories": // filterMode already set to All
|
|
|
|
default: |
|
|
|
default: |
|
|
|
viewType = "all" |
|
|
|
viewType = "your_repositories" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|