|
|
|
@@ -454,6 +454,7 @@ func makeIssueResult(sRes *elastic.SearchResult, Key string) *SearchRes { |
|
|
|
record := make(map[string]interface{}) |
|
|
|
record["id"] = recordSource["id"] |
|
|
|
record["repo_id"] = recordSource["repo_id"] |
|
|
|
log.Info("recordSource[\"repo_id\"]=" + fmt.Sprint(recordSource["repo_id"])) |
|
|
|
repo, errRepo := models.GetRepositoryByID(recordSource["repo_id"].(int64)) |
|
|
|
if errRepo == nil { |
|
|
|
record["repoUrl"] = repo.FullName() |
|
|
|
|