fix: 메인 홈 - 최근 콘텐츠 조회
- join 하지 않은 blockMember 제거 - 정렬 조건 추가 - id 내림차순
This commit is contained in:
		| @@ -1313,7 +1313,6 @@ class AudioContentQueryRepositoryImpl( | ||||
|                 audioContent.releaseDate.isNull | ||||
|                     .or(audioContent.releaseDate.loe(LocalDateTime.now())) | ||||
|             ) | ||||
|             .and(blockMember.id.isNull) | ||||
|  | ||||
|         if (!isAdult) { | ||||
|             where = where.and(audioContent.isAdult.isFalse) | ||||
| @@ -1360,6 +1359,7 @@ class AudioContentQueryRepositoryImpl( | ||||
|             .where(where) | ||||
|             .offset(offset) | ||||
|             .limit(limit) | ||||
|             .orderBy(audioContent.id.desc()) | ||||
|             .fetch() | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user