diff --git a/components/cards/EpisodeSearchCard.vue b/components/cards/EpisodeSearchCard.vue
new file mode 100644
index 00000000..1968d57c
--- /dev/null
+++ b/components/cards/EpisodeSearchCard.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
{{ title }}
+
{{ subtitle }}
+
{{ $getString('LabelByAuthor', [authorName]) }}
+
+
+
+
+
+
+
diff --git a/pages/search.vue b/pages/search.vue
index 0827bd58..0eaa08f9 100644
--- a/pages/search.vue
+++ b/pages/search.vue
@@ -19,7 +19,7 @@
-
{{ $strings.LabelPodcasts }}
+ {{ $strings.LabelPodcasts }}
@@ -28,6 +28,15 @@
+ {{ $strings.HeaderEpisodes }}
+
+
+
+
+
+
+
+
{{ $strings.LabelSeries }}
@@ -77,6 +86,7 @@ export default {
isFetching: false,
bookResults: [],
podcastResults: [],
+ episodeResults: [],
seriesResults: [],
authorResults: [],
narratorResults: [],
@@ -91,7 +101,7 @@ export default {
return this.$store.getters['libraries/getBookCoverAspectRatio']
},
totalResults() {
- return this.bookResults.length + this.seriesResults.length + this.authorResults.length + this.podcastResults.length + this.narratorResults.length + this.tagResults.length
+ return this.bookResults.length + this.seriesResults.length + this.authorResults.length + this.podcastResults.length + this.narratorResults.length + this.tagResults.length + this.episodeResults.length
}
},
methods: {
@@ -104,6 +114,7 @@ export default {
if (!this.lastSearch) {
this.bookResults = []
this.podcastResults = []
+ this.episodeResults = []
this.seriesResults = []
this.authorResults = []
this.narratorResults = []
@@ -125,6 +136,7 @@ export default {
this.bookResults = results?.book || []
this.podcastResults = results?.podcast || []
+ this.episodeResults = results?.episodes || []
this.seriesResults = results?.series || []
this.authorResults = results?.authors || []
this.narratorResults = results?.narrators || []