mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-01 12:44:06 +01:00
Fix:Podcast episode match not properly encoding search query #3177
This commit is contained in:
1 parent
e925e9b23f
commit
dbc7ad0b3b
3 files changed
+18
-24
No files matched your search
@@ -132,7 +132,7 @@ export default {
|
||||
this.searchedTitle = this.episodeTitle
|
||||
this.isProcessing = true
|
||||
this.$axios
|
||||
.$get(`/api/podcasts/${this.libraryItem.id}/search-episode?title=${this.$encodeUriPath(this.episodeTitle)}`)
|
||||
.$get(`/api/podcasts/${this.libraryItem.id}/search-episode?title=${encodeURIComponent(this.episodeTitle)}`)
|
||||
.then((results) => {
|
||||
this.episodesFound = results.episodes.map((ep) => ep.episode)
|
||||
console.log('Episodes found', this.episodesFound)
|
||||
@@ -153,4 +153,4 @@ export default {
|
||||
},
|
||||
mounted() {}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
Reference in new issue
Block a user