Fix songs pagination param in AlbumContextMenu

This commit is contained in:
Deluan 2020-05-01 11:05:36 -04:00
parent b002a69bf8
commit 9b2d91c0f2

@ -48,7 +48,7 @@ const AlbumContextMenu = (props) => {
const key = e.target.getAttribute('value')
dataProvider
.getList('albumSong', {
pagination: { page: 0, perPage: 1000 },
pagination: { page: 1, perPage: -1 },
sort: { field: 'trackNumber', order: 'ASC' },
filter: { album_id: props.id },
})