|
|
|
@@ -143,8 +143,8 @@ func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) { |
|
|
|
orderBy = models.SearchOrderByActive |
|
|
|
|
|
|
|
default: |
|
|
|
ctx.Data["SortType"] = "recentupdate" |
|
|
|
orderBy = models.SearchOrderByRecentUpdated |
|
|
|
ctx.Data["SortType"] = "hot" |
|
|
|
orderBy = models.SearchOrderByHot |
|
|
|
} |
|
|
|
|
|
|
|
//todo:support other topics |
|
|
|
|