Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1788/head
zouap 3 years ago
parent
commit
92e5636b88
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      routers/search.go

+ 0
- 6
routers/search.go View File

@@ -561,9 +561,6 @@ func searchUserOrOrg(ctx *context.Context, TableName string, Key string, Page in
名称字母序
*/
SortBy := ctx.Query("SortBy")
if SortBy == "" {
SortBy = "created_unix.keyword"
}
ascending := ctx.QueryBool("Ascending")
boolQ := elastic.NewBoolQuery()

@@ -675,9 +672,6 @@ func searchDataSet(ctx *context.Context, TableName string, Key string, Page int,

*/
SortBy := ctx.Query("SortBy")
if SortBy == "" {
SortBy = "download_times.keyword"
}
ascending := ctx.QueryBool("Ascending")
log.Info("query searchRepo start")
boolQ := elastic.NewBoolQuery()


Loading…
Cancel
Save