Browse Source

提交代码。

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

+ 1
- 1
models/search_record.go View File

@@ -6,7 +6,7 @@ import (
)

type SearchRecord struct {
ID int64 `xorm:"pk"`
ID int64 `xorm:"pk autoincr"`
//user
Keyword string `xorm:"NOT NULL"`
//


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

@@ -115,6 +115,7 @@ function search(){

function searchLabel(tableName,keyword,sortBy="",ascending=false){
console.log("enter label search.");
$('#"keyword_input"').val(keyword);
currentSearchKeyword = keyword;
initPageInfo();
currentSearchTableName = tableName;


Loading…
Cancel
Save