댓글 검색 기능 + 검색 날짜 오류 수정#997
Merged
Merged
Conversation
Sphinx wr_datetime은 MySQL 서버 timezone(KST) 기준 Unix timestamp인데, -9*3600으로 이중 변환하여 날짜가 하루 밀리던 문제 수정.
Contributor
Staging 배포 완료URL: https://dev.damoang.net
|
- 검색 필드에 '댓글', '작성자(댓글)' 옵션 추가
- Sphinx wr_is_comment=1 조건으로 댓글 검색 지원
- 댓글 검색 결과 → 원글 링크 + #c_{id} 앵커로 이동
- 검색 결과 날짜 -9h 이중 변환 제거 (8826)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wr_datetime의-9*3600이중 변환 제거wr_is_comment=1조건으로 댓글 내용/작성자 검색#c_{댓글ID}앵커로 이동Test plan
/search?q=테스트&sfl=comment— 댓글 검색 결과가 표시되는지/search?q=테스트&sfl=title_content— 기존 게시글 검색 정상 동작