mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 06:38:37 -04:00 
			
		
		
		
	Fix active issue (#9238)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Lunny Xiao
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							23ef9ff516
						
					
				
				
					commit
					e459f99ef2
				
			| @@ -178,7 +178,7 @@ func Issues(ctx *context.Context) { | ||||
| 	) | ||||
|  | ||||
| 	if ctxUser.IsOrganization() { | ||||
| 		viewType = "all" | ||||
| 		viewType = "your_repositories" | ||||
| 	} else { | ||||
| 		viewType = ctx.Query("type") | ||||
| 		switch viewType { | ||||
| @@ -188,9 +188,9 @@ func Issues(ctx *context.Context) { | ||||
| 			filterMode = models.FilterModeCreate | ||||
| 		case "mentioned": | ||||
| 			filterMode = models.FilterModeMention | ||||
| 		case "all": // filterMode already set to All | ||||
| 		case "your_repositories": // filterMode already set to All | ||||
| 		default: | ||||
| 			viewType = "all" | ||||
| 			viewType = "your_repositories" | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user