UI: When navigating to another resource, pre-fill the filter with the parent info

This commit is contained in:
Deluan
2020-01-22 14:03:18 -05:00
parent 7dc3f49c1c
commit 04637b24cd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const ArtistFilter = (props) => (
)
const artistRowClick = (id, basePath, record) =>
`/album?filter={"artist_id":"${record.id}"}&order=ASC&sort=year`
`/album?filter={"artist":"${record.name}","artist_id":"${record.id}"}&order=ASC&sort=year`
const ArtistList = (props) => (
<List