[Static]: quotes initial
This commit is contained in:
parent
cf027cb586
commit
2540eeee26
@ -598,6 +598,7 @@ func (es ESConf) GetThreadsYear(pageNum int, echoes ...string) (posts []i2es.ESD
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (es ESConf) GetLatestPosts(sum int) []i2es.ESDoc {
|
func (es ESConf) GetLatestPosts(sum int) []i2es.ESDoc {
|
||||||
|
log.Debug(sum)
|
||||||
query := fmt.Sprintf(`{"sort": [{"date": {"order": "desc"}}, {"_score": {"order": "desc" }}], "size": %d}`, sum)
|
query := fmt.Sprintf(`{"sort": [{"date": {"order": "desc"}}, {"_score": {"order": "desc" }}], "size": %d}`, sum)
|
||||||
log.Debugf("Do %s request", query)
|
log.Debugf("Do %s request", query)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user