Should not allow changing sort order in Album songs view
This commit is contained in:
parent
ea435d0f60
commit
2183eb6498
|
@ -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
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue