Skip to content
Snippets Groups Projects
Commit 3876b151 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '209-play-all-first-track' into 'develop'

FIxed broken search and metadata search

See merge request funkwhale/funkwhale!278
parents 58be852a 10ce0773
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ export default {
})
return {results: results}
},
url: this.$store.getters['instance/absoluteUrl']('search?query={query}')
url: this.$store.getters['instance/absoluteUrl']('api/v1/search?query={query}')
}
})
}
......
......@@ -116,7 +116,7 @@ export default {
})[0]
},
searchUrl: function () {
return this.$store.getters['instance/absoluteUrl']('providers/musicbrainz/search/' + this.currentTypeObject.value + 's/?query={query}')
return this.$store.getters['instance/absoluteUrl']('api/v1/providers/musicbrainz/search/' + this.currentTypeObject.value + 's/?query={query}')
},
types: function () {
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