|
|
@@ -146,7 +146,7 @@ func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) { |
|
|
|
ctx.Data["SortType"] = "hot" |
|
|
|
orderBy = models.SearchOrderByHot |
|
|
|
} |
|
|
|
|
|
|
|
orderBy = orderBy + ",id" |
|
|
|
//todo:support other topics |
|
|
|
keyword := strings.Trim(ctx.Query("q"), " ") |
|
|
|
topic := strings.Trim(ctx.Query("topic"), " ") |
|
|
|