Pārlūkot izejas kodu

Merge branch 'cygx_9.1' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 2 gadi atpakaļ
vecāks
revīzija
c450cb0332
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      services/elastic.go

+ 1 - 1
services/elastic.go

@@ -999,7 +999,7 @@ func EsArticleSearch(keyWord string, startSize, pageSize int, orderColumn string
 			},
 		},
 	}
-	if orderColumn == "PublishDate" {
+	if orderColumn == "Comprehensive" {
 		queryMap["sort"] = sortMap
 	}
 	queryMap["from"] = startSize