Browse Source

提交代码。

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

+ 3
- 2
models/dbsql/repo_foreigntable_for_es.sql View File

@@ -492,8 +492,9 @@ $def$
num_watches=NEW.num_watches,
num_stars=NEW.num_stars,
num_forks=NEW.num_forks,
topics=NEW.topics
alias = NEW.alias
topics=NEW.topics,
alias = NEW.alias,
lower_alias = NEW.lower_alias
where id=NEW.id;
end if;


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

@@ -590,7 +590,7 @@ function getTime(UpdatedUnix,currentTime){
var days = Math.ceil(hours/24)
if (days >= 30){
return Math.ceil(days/30) + getRepoOrOrg(8,isZh);
}else if(dasy >= 365){
}else if(days >= 365){
return Math.ceil(days/365) + getRepoOrOrg(9,isZh);
}
return Math.ceil(hours/24) + getRepoOrOrg(7,isZh);


Loading…
Cancel
Save