Should not allow changing sort order in Album songs view
This commit is contained in:
parent
ea435d0f60
commit
2183eb6498
2 changed files with 4 additions and 4 deletions
|
|
@ -120,11 +120,11 @@ const AlbumSongs = (props) => {
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
playCount: isDesktop && (
|
playCount: isDesktop && (
|
||||||
<NumberField source="playCount" sortByOrder={'DESC'} />
|
<NumberField source="playCount" sortable={false} />
|
||||||
),
|
),
|
||||||
playDate: <DateField source="playDate" sortByOrder={'DESC'} showTime />,
|
playDate: <DateField source="playDate" sortable={false} showTime />,
|
||||||
quality: isDesktop && <QualityInfo source="quality" sortable={false} />,
|
quality: isDesktop && <QualityInfo source="quality" sortable={false} />,
|
||||||
channels: isDesktop && <NumberField source="channels" sortable={true} />,
|
channels: isDesktop && <NumberField source="channels" sortable={false} />,
|
||||||
bpm: isDesktop && <NumberField source="bpm" sortable={false} />,
|
bpm: isDesktop && <NumberField source="bpm" sortable={false} />,
|
||||||
rating: isDesktop && config.enableStarRating && (
|
rating: isDesktop && config.enableStarRating && (
|
||||||
<RatingField
|
<RatingField
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ const PlaylistSongs = ({ playlistId, readOnly, actions, ...props }) => {
|
||||||
),
|
),
|
||||||
playDate: <DateField source="playDate" sortByOrder={'DESC'} showTime />,
|
playDate: <DateField source="playDate" sortByOrder={'DESC'} showTime />,
|
||||||
quality: isDesktop && <QualityInfo source="quality" sortable={false} />,
|
quality: isDesktop && <QualityInfo source="quality" sortable={false} />,
|
||||||
channels: isDesktop && <NumberField source="channels" sortable={true} />,
|
channels: isDesktop && <NumberField source="channels" />,
|
||||||
bpm: isDesktop && <NumberField source="bpm" />,
|
bpm: isDesktop && <NumberField source="bpm" />,
|
||||||
}
|
}
|
||||||
}, [isDesktop, classes.draggable])
|
}, [isDesktop, classes.draggable])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue