Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.3.2^2
zouap 3 years ago
parent
commit
01e6c61301
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/home/search.js

+ 1
- 1
public/home/search.js View File

@@ -468,7 +468,7 @@ function displayRepoResult(page,jsonResult,onlyReturnNum,keyword){
if(!isEmpty(recordMap["topics"]) && recordMap["topics"] !="null"){ if(!isEmpty(recordMap["topics"]) && recordMap["topics"] !="null"){
for(var j = 0; j < recordMap["topics"].length;j++){ for(var j = 0; j < recordMap["topics"].length;j++){
//function searchLabel(tableName,keyword,sortBy="",ascending=false) //function searchLabel(tableName,keyword,sortBy="",ascending=false)
html +=" <a href=\"javascript:searchLabel('repository','" + recordMap["topics"][j] + "','updated_unix.keyword',false);\"><div class=\"ui small label topic\">"+ recordMap["topics"][j] + "</div></a>";
html +=" <a href=\"javascript:searchLabel('repository','" + recordMap["topics"][j] + "','updated_unix.keyword',false);\"><div class=\"ui small label topic\">"+ recordMap["hightTopics"][j] + "</div></a>";
} }
} }
html +=" </div>"; html +=" </div>";


Loading…
Cancel
Save