Should not allow changing sort order in Album songs view

This commit is contained in:
Deluan 2021-10-27 14:35:58 -04:00
parent ea435d0f60
commit 2183eb6498
2 changed files with 4 additions and 4 deletions

View File

@ -120,11 +120,11 @@ const AlbumSongs = (props) => {
/>
),
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} />,
channels: isDesktop && <NumberField source="channels" sortable={true} />,
channels: isDesktop && <NumberField source="channels" sortable={false} />,
bpm: isDesktop && <NumberField source="bpm" sortable={false} />,
rating: isDesktop && config.enableStarRating && (
<RatingField

View File

@ -152,7 +152,7 @@ const PlaylistSongs = ({ playlistId, readOnly, actions, ...props }) => {
),
playDate: <DateField source="playDate" sortByOrder={'DESC'} showTime />,
quality: isDesktop && <QualityInfo source="quality" sortable={false} />,
channels: isDesktop && <NumberField source="channels" sortable={true} />,
channels: isDesktop && <NumberField source="channels" />,
bpm: isDesktop && <NumberField source="bpm" />,
}
}, [isDesktop, classes.draggable])