Fix #208 어드민으로 교육자료 조회시 분기처리 로직 기수 반영하도록 수정 #208
Merged
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.
🚨 문제
교육자료 조회시, 파트별 필터링만 작동하고 기수별 필터링이 작동하지않는 문제가 있었습니다
💭 원인
ADMIN, 일반USER계정 둘다로 테스트해봤는데ADMIN계정에서는 모든 교육자료를 다 보여주는 로직에서, 기수별로 필터링 적용이 안되고 있었어요어드민으로 교육자료 조회시 분기처리 로직중에 해당하는 쿼리문 수정으로 오류 트래킹해서 반영완료했습니다
local에서ADMIN계정 +USER계정으로 아래 두가지 케이스 모두 테스트 완료했습니다ALL파트)체크 리스트