Skip to content

Commit

Permalink
fix: 스타 이름 검색 포함되는 경우 반환 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
psm9718 committed Dec 28, 2022
1 parent 840a7b7 commit 28b6ec5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.util.List;
import java.util.stream.Collectors;

import static gigsproject.gigs.domain.QHost.host;
import static gigsproject.gigs.domain.QStar.star;
import static gigsproject.gigs.domain.StarStatus.ACTIVE;
import static gigsproject.gigs.domain.StarStatus.INACTIVE;
Expand Down Expand Up @@ -69,7 +70,7 @@ private static BooleanExpression isStarActive() {
}

private Predicate starNameEq(String name) {
return hasText(name) ? star.name.eq(name) : null;
return hasText(name) ? star.name.contains(name) : null;
}

private Predicate starStageTypesEq(List<StageType> stages) {
Expand Down

0 comments on commit 28b6ec5

Please sign in to comment.