오디션 #249
|
@ -56,7 +56,7 @@ class AuditionQueryRepositoryImpl(
|
|||
var where = audition.isActive.isTrue
|
||||
.and(
|
||||
audition.status.eq(AuditionStatus.COMPLETED)
|
||||
.and(audition.status.eq(AuditionStatus.IN_PROGRESS))
|
||||
.or(audition.status.eq(AuditionStatus.IN_PROGRESS))
|
||||
)
|
||||
|
||||
if (!isAdult) {
|
||||
|
@ -74,6 +74,8 @@ class AuditionQueryRepositoryImpl(
|
|||
)
|
||||
.from(audition)
|
||||
.where(where)
|
||||
.offset(offset)
|
||||
.limit(limit)
|
||||
.orderBy(audition.status.desc())
|
||||
.fetch()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue