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
+1 -1
View File
@@ -29,7 +29,7 @@ const PlayerList = (props) => {
source="maxBitRate"
render={(r) => (r.maxBitRate ? r.maxBitRate : '-')}
/>
<DateField source="lastSeen" showTime />
<DateField source="lastSeen" showTime sortByOrder={'DESC'} />
</Datagrid>
)}
</List>