test #211

Merged
klaus merged 5 commits from test into main 2024-09-11 06:00:32 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 47748875c0 - Show all commits

View File

@ -59,10 +59,10 @@ class ContentSeriesContentQueryRepositoryImpl(
.and(audioContent.isActive.isTrue) .and(audioContent.isActive.isTrue)
.and(audioContent.duration.isNotNull) .and(audioContent.duration.isNotNull)
var orderBy = series.createdAt.asc() var orderBy = seriesContent.createdAt.asc()
if (sortType == SeriesSortType.NEWEST) { if (sortType == SeriesSortType.NEWEST) {
orderBy = series.createdAt.desc() orderBy = seriesContent.createdAt.desc()
} }
if (!isAdult) { if (!isAdult) {