fix: 여행 목록 조회 시 전체 페이지 수 오류 수정 #102
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.
🔍 PR 타입 선택
아래 타입 중 해당하는 하나를 선택해 주세요. 반드시 하나만 선택해 주세요.
feat: 새로운 기능 추가fix: 버그 수정docs: 문서 수정style: 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우refactor: 코드 리팩토링test: 테스트 코드 추가 또는 수정chore: 빌드 업무 수정, 패키지 매니저 수정 등 기타 작업📝 변경 사항 요약
여행 목록 조회 시 전체 페이지 수 오류 수정
TripQueryRepository에 전체 데이터 개수(count) 조회 로직 추가
TripService에서 PageImpl 생성 시 현재 페이지 크기가 아닌 전체 개수를 전달하도록 수정
프론트엔드 페이징 처리(totalElements, totalPages, last) 정상화
🛠 관련 이슈
Resolves: #123
Ref: #456
Related to: #48, #45
close: #번호
추가 설명 (선택 사항)
변경 사항에 대한 추가 설명을 작성해 주세요.