feat: 닉네임, 카테고리 검색 필터 구현 - #55
Merged
Merged
Conversation
1ub7
requested review from
devlearner2804,
hikeong,
s26047-code and
sooooooobinn
August 19, 2026 23:26
devlearner2804
approved these changes
Aug 19, 2026
s26047-code
approved these changes
Aug 19, 2026
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.
작업 내용
변경 사항
PostRepository:searchPostSummariesByTitle→searchPostSummaries로 교체keyword가 제목(p.title) 또는 작성자 닉네임(author.nickname)에 매칭되면 조회되도록 변경category파라미터 추가 (다른 목록 API와 동일하게 null이면 전체 카테고리 포함)MainService:searchPosts시그니처에category파라미터 추가MainController:/main/search에category쿼리 파라미터 추가,keyword도 선택값으로 변경참고 사항
keyword,category둘 다 비어있으면/main/posts(전체 목록)와 동일한 결과가 나옴