From 113d29fab0ea40dfd833848887bad5da18aaa68d Mon Sep 17 00:00:00 2001 From: Klaus Date: Wed, 7 Feb 2024 06:21:03 +0900 Subject: [PATCH] =?UTF-8?q?=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=EA=B4=80=EB=A6=AC=EC=9E=90=20=EC=B9=B4=ED=85=8C=EA=B3=A0?= =?UTF-8?q?=EB=A6=AC=20=EC=BD=98=ED=85=90=EC=B8=A0=20=EB=A6=AC=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20-=20=ED=8E=98=EC=9D=B4=EC=A7=95=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC,=20=EC=A0=95=EB=A0=AC=EC=88=9C=EC=84=9C=20=EC=B5=9C?= =?UTF-8?q?=EA=B7=BC=EC=97=90=20=EC=B6=94=EA=B0=80=ED=95=9C=20=EC=BD=98?= =?UTF-8?q?=ED=85=90=EC=B8=A0=EA=B0=80=20=EB=A8=BC=EC=A0=80=20=EB=82=98?= =?UTF-8?q?=EC=98=A4=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/content/category/CreatorAdminCategoryRepository.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/category/CreatorAdminCategoryRepository.kt b/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/category/CreatorAdminCategoryRepository.kt index 2e49fd6..a826eba 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/category/CreatorAdminCategoryRepository.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/category/CreatorAdminCategoryRepository.kt @@ -71,6 +71,9 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory) .and(audioContent.member.id.eq(memberId)) .and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull)) ) + .orderBy(categoryContent.updatedAt.desc()) + .offset(offset) + .limit(limit) .fetch() } }