Better defaults to sort orders in List views

This commit is contained in:
Deluan
2020-06-09 07:45:23 -04:00
parent b54d4c75ae
commit 82d437f004
6 changed files with 24 additions and 13 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ const ArtistList = (props) => (
>
<Datagrid rowClick={artistLink}>
<TextField source="name" />
<NumberField source="albumCount" />
<NumberField source="songCount" />
<NumberField source="albumCount" sortByOrder={'DESC'} />
<NumberField source="songCount" sortByOrder={'DESC'} />
</Datagrid>
</List>
)