mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix #285
This commit is contained in:
		| @@ -163,7 +163,7 @@ func Users(ctx *middleware.Context) { | ||||
| 	if p < 1 { | ||||
| 		p = 1 | ||||
| 	} | ||||
| 	pageNum := 100 | ||||
| 	pageNum := 50 | ||||
| 	count := models.CountUsers() | ||||
| 	curCount := int64((p-1)*pageNum + pageNum) | ||||
| 	if curCount > count { | ||||
| @@ -192,7 +192,7 @@ func Repositories(ctx *middleware.Context) { | ||||
| 	if p < 1 { | ||||
| 		p = 1 | ||||
| 	} | ||||
| 	pageNum := 2 | ||||
| 	pageNum := 50 | ||||
| 	count := models.CountRepositories() | ||||
| 	curCount := int64((p-1)*pageNum + pageNum) | ||||
| 	if curCount > count { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user