Update playlist & collection models to use sort order

This commit is contained in:
advplyr 2023-07-10 16:07:22 -05:00
parent f425185575
commit eb5331d34a
2 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,8 @@ module.exports = (sequelize) => {
}
}
]
}
},
order: [['playlistMediaItems', 'order', 'ASC']]
})
return playlists.map(p => this.getOldPlaylist(p))
}