Skip to content

Commit 022def8

Browse files
committed
refactor: 기도 내용 조회를 시간순으로 변경
- 기존의 이름 순서가 아닌, 시간 순(작성 순서)으로 변경
1 parent 6b8b34a commit 022def8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/site/praytogether/pray_together/domain/prayer/domain/PrayerContentRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public interface PrayerContentRepository extends JpaRepository<PrayerContent, Lo
1313
)
1414
FROM PrayerContent pc
1515
WHERE pc.prayerTitle.id = :titleId
16-
ORDER BY pc.memberName ASC
16+
ORDER BY pc.createdTime ASC
1717
""")
1818
List<PrayerContentInfo> findPrayerContentsByTitleId(Long titleId);
1919

0 commit comments

Comments
 (0)