Parcourir la source

Updated from 10 to 15 Repos in Trending Page

Yoginth il y a 7 ans
Parent
commit
07e3147acc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      routes/home.go

+ 1 - 1
routes/home.go

@@ -117,7 +117,7 @@ func ExploreTrending(c *context.Context) {
 	repos, count, err := models.SearchRepositoryByName(&models.SearchRepoOptions{
 		UserID:   c.UserID(),
 		OrderBy:  "num_stars DESC",
-		PageSize: 10,
+		PageSize: 15,
 	})
 	if err != nil {
 		c.ServerError("SearchRepositoryByName", err)