mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-05 12:31:48 +02:00
Update playlist & collection models to use sort order
This commit is contained in:
@@ -22,7 +22,8 @@ module.exports = (sequelize) => {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
order: [['playlistMediaItems', 'order', 'ASC']]
|
||||
})
|
||||
return playlists.map(p => this.getOldPlaylist(p))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user