parent
d804ad268a
commit
47748875c0
|
@ -59,10 +59,10 @@ class ContentSeriesContentQueryRepositoryImpl(
|
|||
.and(audioContent.isActive.isTrue)
|
||||
.and(audioContent.duration.isNotNull)
|
||||
|
||||
var orderBy = series.createdAt.asc()
|
||||
var orderBy = seriesContent.createdAt.asc()
|
||||
|
||||
if (sortType == SeriesSortType.NEWEST) {
|
||||
orderBy = series.createdAt.desc()
|
||||
orderBy = seriesContent.createdAt.desc()
|
||||
}
|
||||
|
||||
if (!isAdult) {
|
||||
|
|
Loading…
Reference in New Issue