Enable sort by "starred" in Album and Artist lists

This commit is contained in:
Deluan
2020-08-14 15:35:15 -04:00
parent 848318932d
commit 147d26fb75
2 changed files with 25 additions and 1 deletions
+3
View File
@@ -100,6 +100,9 @@ const AlbumListView = ({ hasShow, hasEdit, hasList, ...rest }) => {
<RangeField source={'year'} sortBy={'maxYear'} sortByOrder={'DESC'} />
{isDesktop && <DurationField source="duration" />}
<AlbumContextMenu
source={'starred'}
sortBy={'starred ASC, starredAt ASC'}
sortByOrder={'DESC'}
label={
<StarBorderIcon fontSize={'small'} className={classes.columnIcon} />
}