diff --git a/client/components/modals/podcast/EpisodeFeed.vue b/client/components/modals/podcast/EpisodeFeed.vue index 91f0b34a..c8be0345 100644 --- a/client/components/modals/podcast/EpisodeFeed.vue +++ b/client/components/modals/podcast/EpisodeFeed.vue @@ -6,9 +6,14 @@
+
+
+ + +
{ + if (!this.searchText) return true + return ( + (episode.title && episode.title.toLowerCase().includes(this.searchText)) || + (episode.subtitle && episode.subtitle.toLowerCase().includes(this.searchText)) + ) + }) } }, methods: { + inputUpdate() { + clearTimeout(this.searchTimeout) + this.searchTimeout = setTimeout(() => { + if (!this.search || !this.search.trim()) { + this.searchText = '' + return + } + this.searchText = this.search.toLowerCase().trim() + }, 500) + }, toggleSelectAll(val) { for (let i = 0; i < this.episodes.length; i++) { const episode = this.episodes[i] diff --git a/client/components/tables/podcast/EpisodesTable.vue b/client/components/tables/podcast/EpisodesTable.vue index d92f3181..a5af04cd 100644 --- a/client/components/tables/podcast/EpisodesTable.vue +++ b/client/components/tables/podcast/EpisodesTable.vue @@ -19,7 +19,12 @@

{{ $strings.MessageNoEpisodes }}

-