Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1788/head
zouap 3 years ago
parent
commit
7b10929d91
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/search.go

+ 1
- 1
routers/search.go View File

@@ -153,7 +153,7 @@ func searchRepo(ctx *context.Context, TableName string, Key string, Page int, Pa
case "num_watches":
orderBy = models.SearchOrderByWatches
}
log.Info("actor is null?:" + fmt.Sprint(ctx.User == nil))
repos, count, err := models.SearchRepository(&models.SearchRepoOptions{
ListOptions: models.ListOptions{
Page: Page,


Loading…
Cancel
Save