Skip to content

Commit

Permalink
fix(opds): latest series sort inverted
Browse files Browse the repository at this point in the history
closes #301
  • Loading branch information
gotson committed Aug 31, 2020
1 parent 825085a commit bddc008
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -194,7 +194,7 @@ class OpdsController(

val entries = seriesRepository.findAll(seriesSearch)
.map { SeriesWithInfo(it, seriesMetadataRepository.findById(it.id)) }
.sortedBy { it.series.lastModifiedDate }
.sortedByDescending { it.series.lastModifiedDate }
.map { it.toOpdsEntry() }

return OpdsFeedNavigation(
Expand Down

0 comments on commit bddc008

Please sign in to comment.