Skip to content

Conversation

@ekfrehd
Copy link
Contributor

@ekfrehd ekfrehd commented Jan 4, 2026

🔍 PR 타입 선택

아래 타입 중 해당하는 하나를 선택해 주세요. 반드시 하나만 선택해 주세요.

  • feat: 새로운 기능 추가
  • fix: 버그 수정
  • docs: 문서 수정
  • style: 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우
  • refactor: 코드 리팩토링
  • test: 테스트 코드 추가 또는 수정
  • chore: 빌드 업무 수정, 패키지 매니저 수정 등 기타 작업

📝 변경 사항 요약

여행 목록 조회 시 전체 페이지 수 오류 수정

TripQueryRepository에 전체 데이터 개수(count) 조회 로직 추가

TripService에서 PageImpl 생성 시 현재 페이지 크기가 아닌 전체 개수를 전달하도록 수정

프론트엔드 페이징 처리(totalElements, totalPages, last) 정상화

🛠 관련 이슈

Resolves: #123
Ref: #456
Related to: #48, #45
close: #번호

추가 설명 (선택 사항)

변경 사항에 대한 추가 설명을 작성해 주세요.

- TripQueryRepository에 전체 데이터 개수(count) 조회 로직 추가
- TripService에서 PageImpl 생성 시 현재 페이지 크기가 아닌 전체 개수를 전달하도록 수정
- 프론트엔드 페이징 처리(totalElements, totalPages, last) 정상화
@ekfrehd ekfrehd merged commit 401bb61 into develop Jan 4, 2026
1 of 2 checks passed
@ekfrehd ekfrehd deleted the fix/trip-pagination-count branch January 4, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants