Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.3.2^2
zouap 4 years ago
parent
commit
904fb265d2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/search.go

+ 1
- 0
routers/search.go View File

@@ -189,6 +189,7 @@ func makeRepoResult(sRes *elastic.SearchResult, Key string, OnlyReturnNum bool)

if record["topics"] != nil {
topicsStr := record["topics"].(string)
log.Info("topicsStr=" + topicsStr)
if topicsStr != "null" {
topicsStr = strings.Replace(topicsStr, "\"", "", -1)
topicsStr = topicsStr[1 : len(topicsStr)-1]


Loading…
Cancel
Save