mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	bug fixed for my repository (#933)
This commit is contained in:
		| @@ -657,9 +657,13 @@ func (env *accessibleReposEnv) Repos(page, pageSize int) ([]*Repository, error) | |||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	repos := make([]*Repository, 0, len(repoIDs)) | 	repos := make([]*Repository, 0, len(repoIDs)) | ||||||
|  |  | ||||||
|  | 	if len(repoIDs) <= 0 { | ||||||
|  | 		return repos, nil | ||||||
|  | 	} | ||||||
|  |  | ||||||
| 	return repos, x. | 	return repos, x. | ||||||
| 		Select("`repository`.*"). | 		In("`repository`.id", repoIDs). | ||||||
| 		Where(builder.In("`repository`.id", repoIDs)). |  | ||||||
| 		Find(&repos) | 		Find(&repos) | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Lunny Xiao
					Lunny Xiao