diff --git a/backend/src/main/java/kr/touroot/travelogue/repository/query/TravelogueQueryRepositoryImpl.java b/backend/src/main/java/kr/touroot/travelogue/repository/query/TravelogueQueryRepositoryImpl.java index 2094b66f..1f8ef4dc 100644 --- a/backend/src/main/java/kr/touroot/travelogue/repository/query/TravelogueQueryRepositoryImpl.java +++ b/backend/src/main/java/kr/touroot/travelogue/repository/query/TravelogueQueryRepositoryImpl.java @@ -69,8 +69,7 @@ private void addSearchCondition(JPAQuery query, SearchCondition cond private void findByCountryCode(JPAQuery 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 query, String keyword) {