mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-01 19:47:37 +03:00
fix(ui): fix play queue for play button and context menus (#3559)
This commit is contained in:
parent
32afe9698c
commit
4f8cd5307c
2 changed files with 3 additions and 3 deletions
|
@ -203,7 +203,7 @@ export const AlbumContextMenu = (props) =>
|
|||
resource={'album'}
|
||||
songQueryParams={{
|
||||
pagination: { page: 1, perPage: -1 },
|
||||
sort: { field: 'trackNumber', order: 'ASC' },
|
||||
sort: { field: 'album', order: 'ASC' },
|
||||
filter: {
|
||||
album_id: props.record.id,
|
||||
release_date: props.releaseDate,
|
||||
|
@ -234,7 +234,7 @@ export const ArtistContextMenu = (props) =>
|
|||
songQueryParams={{
|
||||
pagination: { page: 1, perPage: 200 },
|
||||
sort: {
|
||||
field: 'trackNumber',
|
||||
field: 'album',
|
||||
order: 'ASC',
|
||||
},
|
||||
filter: { album_artist_id: props.record.id },
|
||||
|
|
|
@ -21,7 +21,7 @@ export const PlayButton = ({ record, size, className }) => {
|
|||
dataProvider
|
||||
.getList('song', {
|
||||
pagination: { page: 1, perPage: -1 },
|
||||
sort: { field: 'trackNumber', order: 'ASC' },
|
||||
sort: { field: 'album', order: 'ASC' },
|
||||
filter: {
|
||||
album_id: record.id,
|
||||
release_date: record.releaseDate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue