Skip to content

Commit

Permalink
feat: travelogueCountry.count 정렬 쿼리 삭제 (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimsha2dy authored Oct 23, 2024
1 parent 41af902 commit d574795
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ private void addSearchCondition(JPAQuery<Travelogue> query, SearchCondition cond
private void findByCountryCode(JPAQuery<Travelogue> query, CountryCode countryCode) {
query.join(travelogueCountry)
.on(travelogue.id.eq(travelogueCountry.travelogue.id))
.where(travelogueCountry.countryCode.eq(countryCode))
.orderBy(travelogueCountry.count.desc());
.where(travelogueCountry.countryCode.eq(countryCode));
}

private void findByTitleOrAuthor(SearchCondition condition, JPAQuery<Travelogue> query, String keyword) {
Expand Down

0 comments on commit d574795

Please sign in to comment.