Преглед изворни кода

Updated from 10 to 15 Repos in Trending Page

Yoginth пре 7 година
родитељ
комит
07e3147acc
1 измењених фајлова са 1 додато и 1 уклоњено
  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)