Explorar o código

Updated from 10 to 15 Repos in Trending Page

Yoginth %!s(int64=7) %!d(string=hai) anos
pai
achega
07e3147acc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)