feat: add concerts to all feed
This commit is contained in:
parent
757b3273bb
commit
ded6093fd6
5 changed files with 17 additions and 6 deletions
|
@ -62,7 +62,7 @@ const processConcerts = (concerts) => {
|
|||
mbid: concert['artist_mbid'],
|
||||
country: parseCountryField(concert['artist_country'])
|
||||
} : null,
|
||||
url: `/concerts/${concert['id']}`,
|
||||
url: `/music/concerts?id=${concert['id']}`,
|
||||
artistUrl: concert['artist'] ? `/music/artists/${sanitizeMediaString(concert['artist_name'])}-${sanitizeMediaString(parseCountryField(concert['artist_country']))}` : null
|
||||
})).sort((a, b) => new Date(b['date']) - new Date(a['date']))
|
||||
}
|
||||
|
|
Reference in a new issue