Add playCount to artist list
This commit is contained in:
parent
ca5da5b0ea
commit
49153dc1c1
3 changed files with 6 additions and 2 deletions
|
|
@ -64,7 +64,8 @@
|
|||
"fields": {
|
||||
"name": "Nome",
|
||||
"albumCount": "Total de Álbuns",
|
||||
"songCount": "Total de Músicas"
|
||||
"songCount": "Total de Músicas",
|
||||
"playCount": "Execuções"
|
||||
}
|
||||
},
|
||||
"user": {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import {
|
|||
Datagrid,
|
||||
DatagridBody,
|
||||
DatagridRow,
|
||||
DateField,
|
||||
Filter,
|
||||
NumberField,
|
||||
SearchInput,
|
||||
|
|
@ -85,6 +86,7 @@ const ArtistList = ({ width, ...rest }) => {
|
|||
<TextField source="name" />
|
||||
<NumberField source="albumCount" sortByOrder={'DESC'} />
|
||||
<NumberField source="songCount" sortByOrder={'DESC'} />
|
||||
<NumberField source="playCount" sortByOrder={'DESC'} />
|
||||
<ArtistContextMenu />
|
||||
</ArtistDatagrid>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,8 @@
|
|||
"fields": {
|
||||
"name": "Name",
|
||||
"albumCount": "Album Count",
|
||||
"songCount": "Song Count"
|
||||
"songCount": "Song Count",
|
||||
"playCount": "Plays"
|
||||
}
|
||||
},
|
||||
"playlist": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue