diff --git a/src/main/kotlin/com/example/jhouse_server/domain/board/repository/BoardRepositoryImpl.kt b/src/main/kotlin/com/example/jhouse_server/domain/board/repository/BoardRepositoryImpl.kt index 403ab87d..ee5dde9d 100644 --- a/src/main/kotlin/com/example/jhouse_server/domain/board/repository/BoardRepositoryImpl.kt +++ b/src/main/kotlin/com/example/jhouse_server/domain/board/repository/BoardRepositoryImpl.kt @@ -185,7 +185,7 @@ class BoardRepositoryImpl( board.user.eq(user), board.useYn.eq(true), ) - .orderBy(board.fixed.desc()) + .orderBy(board.createdAt.desc()) .limit(pageable.pageSize.toLong()) .offset(pageable.offset) .fetch()