Fix:Newest episodes home page shelf #2119

This commit is contained in:
advplyr 2023-09-30 14:19:10 -05:00
parent 1b22205f74
commit 8d3a326216

View File

@ -247,7 +247,7 @@ module.exports = {
podcastEpisodeWhere['$mediaProgresses.isFinished$'] = true
}
} else if (filterGroup === 'recent') {
libraryItemWhere['createdAt'] = {
podcastEpisodeWhere['createdAt'] = {
[Sequelize.Op.gte]: new Date(new Date() - (60 * 24 * 60 * 60 * 1000)) // 60 days ago
}
}