Browse Source

no message

xingzai 2 năm trước cách đây
mục cha
commit
21d3103ec8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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