diff --git a/src/main/kotlin/com/seugi/api/domain/notification/domain/NotificationRepositoryCustomImpl.kt b/src/main/kotlin/com/seugi/api/domain/notification/domain/NotificationRepositoryCustomImpl.kt index b73bb8fc3..7cc59b79e 100644 --- a/src/main/kotlin/com/seugi/api/domain/notification/domain/NotificationRepositoryCustomImpl.kt +++ b/src/main/kotlin/com/seugi/api/domain/notification/domain/NotificationRepositoryCustomImpl.kt @@ -20,6 +20,7 @@ class NotificationRepositoryCustomImpl( notice.workspaceId.eq(workspaceId), notice.deleted.isFalse ) + .orderBy(notice.id.desc()) .offset(pageable.offset) .limit(pageable.pageSize.toLong()) .fetch().orEmpty().toList()