Przeglądaj źródła

Updated from 10 to 15 Repos in Trending Page

Yoginth 7 lat temu
rodzic
commit
07e3147acc
1 zmienionych plików z 1 dodań i 1 usunięć
  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)