|
|
@@ -71,11 +71,10 @@ func RepoSitemap(c *context.Context) {
|
|
|
count = models.CountRepositories(true)
|
|
|
} else {
|
|
|
repos, count, err = models.SearchRepositoryByName(&models.SearchRepoOptions{
|
|
|
- Keyword: keyword,
|
|
|
- OrderBy: "id ASC",
|
|
|
- Private: true,
|
|
|
- Page: page,
|
|
|
- PageSize: setting.UI.Admin.RepoPagingNum,
|
|
|
+ Keyword: keyword,
|
|
|
+ OrderBy: "id ASC",
|
|
|
+ Private: true,
|
|
|
+ Page: page,
|
|
|
})
|
|
|
if err != nil {
|
|
|
c.Handle(500, "SearchRepositoryByName", err)
|