|
@@ -711,11 +711,11 @@ func convertReportDTO(report reportDao.Report, fullTime bool) (reportDTO ReportD
|
|
|
|
|
|
func matchAll(sorts []string, key string) (request *es.ESQueryRequest) {
|
|
|
req := new(es.ESQueryRequest)
|
|
|
- return req.CreateESQueryRequest(htConfig.GetReportIndex(), ESColumn, key, 0, 1, sorts, es.MatchAllByCondition).ByCondition("status", "PUBLUSH")
|
|
|
+ return req.CreateESQueryRequest(htConfig.GetReportIndex(), ESColumn, key, 0, 1, sorts, es.MatchAllByCondition).ByCondition("status", "PUBLISH")
|
|
|
}
|
|
|
func match(key string, from int, to int, sorts []string) (request *es.ESQueryRequest) {
|
|
|
req := new(es.ESQueryRequest)
|
|
|
- return req.CreateESQueryRequest(htConfig.GetReportIndex(), ESColumn, key, from, to, sorts, es.MatchAllByCondition).ByCondition("status", "PUBLUSH")
|
|
|
+ return req.CreateESQueryRequest(htConfig.GetReportIndex(), ESColumn, key, from, to, sorts, es.MatchAllByCondition).ByCondition("status", "PUBLISH")
|
|
|
}
|
|
|
func matchRange(key string, from int, to int, max int64, sorts []string) (request *es.ESQueryRequest) {
|
|
|
req := new(es.ESQueryRequest)
|