mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-08 06:11:07 +03:00
fix(ui): ensure correct album track ordering in context menu and play button
This commit is contained in:
parent
58f48f0c14
commit
225ce325ce
@ -228,7 +228,7 @@ export const AlbumContextMenu = (props) =>
|
|||||||
resource={'album'}
|
resource={'album'}
|
||||||
songQueryParams={{
|
songQueryParams={{
|
||||||
pagination: { page: 1, perPage: -1 },
|
pagination: { page: 1, perPage: -1 },
|
||||||
sort: { field: 'album', order: 'ASC' },
|
sort: { field: 'album_tracks', order: 'ASC' },
|
||||||
filter: {
|
filter: {
|
||||||
album_id: props.record.id,
|
album_id: props.record.id,
|
||||||
release_date: props.releaseDate,
|
release_date: props.releaseDate,
|
||||||
|
@ -21,7 +21,7 @@ export const PlayButton = ({ record, size, className }) => {
|
|||||||
dataProvider
|
dataProvider
|
||||||
.getList('song', {
|
.getList('song', {
|
||||||
pagination: { page: 1, perPage: -1 },
|
pagination: { page: 1, perPage: -1 },
|
||||||
sort: { field: 'album', order: 'ASC' },
|
sort: { field: 'album_tracks', order: 'ASC' },
|
||||||
filter: {
|
filter: {
|
||||||
album_id: record.id,
|
album_id: record.id,
|
||||||
release_date: record.releaseDate,
|
release_date: record.releaseDate,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user