diff --git a/app/Http/Livewire/Library/PodcastEpisodesTable.php b/app/Http/Livewire/Library/PodcastEpisodesTable.php index 68a58fcf..94105a9a 100644 --- a/app/Http/Livewire/Library/PodcastEpisodesTable.php +++ b/app/Http/Livewire/Library/PodcastEpisodesTable.php @@ -43,6 +43,8 @@ class PodcastEpisodesTable extends Component fn($query, $search) => $query ->where('data->title', 'ilike', "%{$search}%") ->orWhere('data->description', 'ilike', "%{$search}%") + ->orWhereHas('podcast', + fn($query) => $query->where('data->title', 'ilike', "%{$search}%")) ) ->orderByDesc('data->datePublished') ->paginate($this->perPage),