Skip to content

Commit

Permalink
modify: 홈화면에서 모집 예정중인 북토크도 보이게 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
dong2ast committed Oct 25, 2023
1 parent 6691f83 commit 5449c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ default Booktalk getBooktalkById(Long booktalkId) {
+ " where m.email = :email")
List<Booktalk> getWatingBooktalks(@Param("email") String email);

List<Booktalk> findAllByBooktalkStatusOrderByEndDate(BooktalkStatus booktalkStatus);
List<Booktalk> findAllByOrderByEndDate();
}
2 changes: 1 addition & 1 deletion src/main/java/org/sophy/sophy/service/BooktalkService.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public void postBooktalkParticipation(

// 마감임박 북토크 조회
public List<BooktalkDeadlineUpcomingDto> getBooktalkDeadlineUpcoming() {
return booktalkRepository.findAllByBooktalkStatusOrderByEndDate(BooktalkStatus.RECRUITING)
return booktalkRepository.findAllByOrderByEndDate()
.stream().map(BooktalkDeadlineUpcomingDto::of).collect(Collectors.toList());
}

Expand Down

0 comments on commit 5449c8b

Please sign in to comment.