mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 01:35:08 +02:00
Update playlist & collection models to use sort order
This commit is contained in:
parent
f425185575
commit
eb5331d34a
2 changed files with 4 additions and 2 deletions
|
@ -22,7 +22,8 @@ module.exports = (sequelize) => {
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
order: [['playlistMediaItems', 'order', 'ASC']]
|
||||
})
|
||||
return playlists.map(p => this.getOldPlaylist(p))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue