A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update search answer
aichy1265cf74ee9da0c
diff --git a/internal/service/answer_service.go b/internal/service/answer_service.goindex ded279b8..92afbbca 100644--- a/internal/service/answer_service.go+++ b/internal/service/answer_service.go@@ -518,6 +518,7 @@ func (as *AnswerService) SearchFormatInfo(ctx context.Context, answers []*entityuserIDs = append(userIDs, info.UserID)userIDs = append(userIDs, info.LastEditUserID)if req.UserID != "" {+ item.ID = uid.DeShortID(item.ID)item.VoteStatus = as.voteRepo.GetVoteStatus(ctx, item.ID, req.UserID)}}