test #213

Merged
klaus merged 2 commits from test into main 2024-09-11 08:23:09 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 4c50143834 - Show all commits

View File

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