Merge branch 'advplyr:master' into inode-bug-fix

This commit is contained in:
Jason Axley 2026-01-15 14:35:50 -08:00 committed by GitHub
commit 4e808e6770
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 302 additions and 39 deletions

View file

@ -236,7 +236,7 @@ module.exports = {
} else if (group === 'publishedDecades') {
const startYear = parseInt(value)
const endYear = parseInt(value, 10) + 9
mediaWhere = Sequelize.where(Sequelize.literal('CAST(`book`.`publishedYear` AS INTEGER)'), {
mediaWhere = Sequelize.where(Sequelize.literal('CAST(publishedYear AS INTEGER)'), {
[Sequelize.Op.between]: [startYear, endYear]
})
}