Skip to content
Snippets Groups Projects
Verified Commit 08177b53 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Improve display of search results by including artist and album data

parent 4d74a891
No related branches found
No related tags found
No related merge requests found
Improve display of search results by including artist and album data
......@@ -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 ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment