Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: gathering 페이지네이션 갯수 오류 , home 에서 좋아요 했는지 오류 #182

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

hyeonjaez
Copy link
Member

  • 제목 : Fix: gathering 페이지 네이션 갯수 오류 및 home 에서 좋아요 했는지 데이터 오류

📝작업 내용

  • gathering 페이지 네이션 갯수 오류 데이터베이스에선 10개 밖에 없는데 totalElements 는 15개가 되어 있다...
  • home gathering 에서 좋아요 했는지 오류

@@ -112,9 +112,10 @@ public Page<GatheringBriefResponse> getGatheringPageFilterAndOrder(Pageable page
.on(bookMarkGathering.gathering.id.eq(gathering.id).and(bookMarkGathering.user.id.eq(userId)))
.leftJoin(gatheringApplicants).on(gatheringApplicants.gathering.id.eq(gathering.id))
.where(booleanBuilder)
.select(gathering.id.count()).fetchCount();
.select(gathering.id.countDistinct()).fetchCount();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

임시방편이라 추후에 수정이 필요할 듯합니다

Copy link
Contributor

@Astin01 Astin01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다

@hyeonjaez hyeonjaez merged commit 3171f3a into develop Sep 19, 2024
1 check failed
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