mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-05 21:01:08 +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'}
|
||||
songQueryParams={{
|
||||
pagination: { page: 1, perPage: -1 },
|
||||
sort: { field: 'album', order: 'ASC' },
|
||||
sort: { field: 'album_tracks', order: 'ASC' },
|
||||
filter: {
|
||||
album_id: props.record.id,
|
||||
release_date: props.releaseDate,
|
||||
|
@ -21,7 +21,7 @@ export const PlayButton = ({ record, size, className }) => {
|
||||
dataProvider
|
||||
.getList('song', {
|
||||
pagination: { page: 1, perPage: -1 },
|
||||
sort: { field: 'album', order: 'ASC' },
|
||||
sort: { field: 'album_tracks', order: 'ASC' },
|
||||
filter: {
|
||||
album_id: record.id,
|
||||
release_date: record.releaseDate,
|
||||
|
Loading…
x
Reference in New Issue
Block a user