Improve display of search results by including artist and album data

This commit is contained in:
Eliot Berriot 2019-07-25 14:30:05 +02:00
parent 4d74a891dc
commit 08177b53c6
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1 @@
Improve display of search results by including artist and album data

View File

@ -89,7 +89,7 @@ export default {
return r.title
},
getDescription (r) {
return ''
return r.artist.name
},
getId (t) {
return t.id
@ -103,7 +103,7 @@ export default {
return r.title
},
getDescription (r) {
return ''
return `${r.album.artist.name} - ${r.album.title}`
},
getId (t) {
return t.id
@ -114,7 +114,7 @@ export default {
route: 'library.tags.detail',
name: tagLabel,
getTitle (r) {
return r.name
return `#${r.name}`
},
getDescription (r) {
return ''