diff --git a/routers/search.go b/routers/search.go index 2edb510c6..30c35d4cb 100644 --- a/routers/search.go +++ b/routers/search.go @@ -443,6 +443,8 @@ func searchIssue(ctx *context.Context, TableName string, Key string, Page int, P boolQ.Must(isIssueQuery) res, err := client.Search(TableName).Query(boolQ).Sort(SortBy, ascending).From((Page - 1) * PageSize).Size(PageSize).Do(ctx.Req.Context()) if err == nil { + searchJson, _ := json.Marshal(res) + log.Info("searchJson=" + string(searchJson)) result := makeIssueResult(res, Key) ctx.JSON(200, result) } else {