Fix album sorting in Artist page

This commit is contained in:
Deluan 2024-07-04 17:21:31 -04:00
parent 6722395879
commit 33717f26d4

View File

@ -60,7 +60,7 @@ const AlbumShowLayout = (props) => {
addLabel={false}
reference="album"
target="artist_id"
sort={{ field: 'max_year asc,date asc', order: 'ASC' }}
sort={{ field: 'max_year', order: 'ASC' }}
filter={{ artist_id: record?.id }}
perPage={0}
pagination={null}