Skip to content

Commit a6d775c

Browse files
committed
chore(community): where 조건 순서 변경
1 parent 739b914 commit a6d775c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/somemore/community/repository/board/CommunityBoardRepositoryImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public Optional<CommunityBoard> findById(Long id) {
4747
@Override
4848
public Page<CommunityBoardView> findCommunityBoards(String keyword, Pageable pageable) {
4949
List<CommunityBoardView> content = getCommunityBoardsQuery()
50-
.where(keywordEq(keyword)
51-
.and(isNotDeleted()))
50+
.where(isNotDeleted()
51+
.and(keywordEq(keyword)))
5252
.offset(pageable.getOffset())
5353
.limit(pageable.getPageSize())
5454
.fetch();

0 commit comments

Comments
 (0)